Re: optimise gd transformations

From: Date: Thu, 24 Oct 2002 00:31:42 +0000
Subject: Re: optimise gd transformations
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-121181@lists.php.net to get a copy of this message
with a static version but it keeps the old versions which is why i generate on the fly as the preview is always the newer version here is the expire header <META HTTP-EQUIV="Cache-Control" CONTENT="No-Cache"> <META HTTP-EQUIV="Pragma" CONTENT="No-Cache"> <META HTTP-EQUIV="Expires" CONTENT="0"> but it still wont refresh it "Marek Kilimajer" <kilimajer@webglobe.sk> wrote in message news:3DB66D4D.6060700@webglobe.sk... > Create them once, and you are done. Also make sure to send some expires > header, else browser allways tries to fetch a new copy > > electroteque wrote: > > >hi there , i ran top to find out how much processing gd2 truecolor > >transformations take on the cpu, i am getting around 20% x 2 httpd > >processes, i was wondering how it would be possible to optimise this so i > >will use less cpu resources ? i am simply generating thumbnails of 70 pixels > >of alreayd resized thumbnails of 150 pixels, let me know > > > > > > > > > > >

« previous php.general (#121181) next »