chokk Posted April 14, 2011 Share Posted April 14, 2011 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 More sharing options...
birbal Posted April 14, 2011 Share Posted April 14, 2011 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. Link to comment Share on other sites More sharing options...
chokk Posted April 14, 2011 Author Share Posted April 14, 2011 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 More sharing options...
Fmdpa Posted April 15, 2011 Share Posted April 15, 2011 Probably the latter option. Search bots may not index pages with query strings like that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.