I have a flash app that displays a lot of images that are streamed
through a script running on the website server. Originally this script
was in perl and I would load the image into flash using something
like:
/cgi-bin/image.pl?image= 1234
I quickly realized that flash was showing me cached images so I added:
/cgi-bin/image.pl?image= 1234&somerandom number
And all was good. Now I have rewritten the script in php to open the
file and stream it out with the correct headers and it works fine. But
I want to go back to the caching in flash for certain images that
don't change. So I dropped the randomnumber part but still, every
image is loaded, no cached image is shown. Is it possible that php is
sending some "no-cache" header before I send out my content type
headers? If so, how can I disable it?
Bill H
through a script running on the website server. Originally this script
was in perl and I would load the image into flash using something
like:
/cgi-bin/image.pl?image= 1234
I quickly realized that flash was showing me cached images so I added:
/cgi-bin/image.pl?image= 1234&somerandom number
And all was good. Now I have rewritten the script in php to open the
file and stream it out with the correct headers and it works fine. But
I want to go back to the caching in flash for certain images that
don't change. So I dropped the randomnumber part but still, every
image is loaded, no cached image is shown. Is it possible that php is
sending some "no-cache" header before I send out my content type
headers? If so, how can I disable it?
Bill H
Comment