Click to See Complete Forum and Search --> : Please Help Me


Anon
04-18-2002, 06:38 AM
Hi All,

I want to prevent the .gif file from getting stored in the cache. I tried to put following
commands in .htaccess file.

ExpiresActive On
ExpiresByType image/gif A0
<Files banner2.gif>
Header append Cache Control "no-store"
</Files>

By this I was able to make sure that client will always get the fresh copy from the server.
But I want that banner2.gif should not get stored in the hard disk cache for security reasons.

Can anybody help me? Thanks in advance.

Bye,
Shrikant

Anon
04-18-2002, 12:13 PM
security reasons? BAH!

If your worried about security, using images is not thew way. I don't know why your worried about cache of a banner.

you counter- yourself here:
"By this I was able to make sure that client will always get the fresh copy "

when you turn off the cache, it does not get stored. I think you need to put in more no-cache research though.