The image is already written to a file. i wrote "..CREATION.." as an
example, because there is no difference do you write and read, or create. If
you pass something through PHP, it will append it's own header HUH :( .. so
not so simple ;[

i guess  that it is impossible to find a solution here, but i would be
interested in any information about this simple trouble, and maybe request
for feature for something like remove_header() function..

Any other ideas :) ?

"Pete M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This posting has made me 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 file
>
> pete
>
> Ilja Polivanov wrote:
>
> > 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 is possible to rewite Cache-Control header with "private" ar
"public"
> > values. bet Pragma do not have positive value :) so i found that i cant
set
> > Empty header("Pragma: "); :) and it works :) except one browser - Opera
:).
> >
> > i know that it is Operas problem, but is there any idea to absolutely
remove
> > response header ? or block PHP to add its own headers ?
> >
> > --
> > Ilja Polivanovas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to