Jump to content

Cache


chokk
 Share

Recommended Posts

Hey all,I have a flash tagcloud that loads tags, links and hexadecimal color codes from an xml document. How do I prevent a users browser from caching these? I've heard something about appending a variable to the URL will make the browser think it's a new page and load everything again. Is it true? Or are there other meassures to counteract browser caching?regards,chokk

Link to comment
Share on other sites

If you append some random numbers in auery string everytime browser will load the pages again. You can also set header() cache-control not to cache pages.

Edited by birbal
Link to comment
Share on other sites

If you append some random numbers in auery string everytime browser will load the pages again. You can also set header() cache-control not to cache pages.
Excellent. What is best practice?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...