[PHP] Re: trouble with forcing output to be cached

2003-11-07 Thread Ilja Polivanov
e think.. > Problem is server side because the script executes to create the image > and the script runs every time.. > > Try writing out the image to a file and then send that to the browser > >>psuedo code > if image NOT exists > create it > write to file > embed

[PHP] trouble with forcing output to be cached

2003-11-07 Thread Ilja Polivanov
Hallo all, I would like to force PHP generated images to cache on client-side. just for reduce traffic and speed of pageloading. The problem is that PHP adds some headers by default, They are: Cache-Control : no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma : no-cache :) it