[thelist] HTML refresh Issue

Mark Groen evolt at markgroen.com
Mon Mar 9 08:47:33 CDT 2009


On Monday 09 March 2009 05:01:03 HP Thniah wrote:
> Thanks for your quick responses Kevin, Jack, and Symeon
> Any quick way of clearing the caches using either HTML or PHP?

Make the files appear to be dynamic when you are linking to them using a 
question mark character after the file extension:

<link href="yourfile.css?version=<?php echo date("H:i:s"); ?>"
 rel="stylesheet" type="text/css" media="screen" />

http://somedomain.com/somefile.html?version=<?php echo date("H:i:s"); ?>
--
cheers,

	Mark
--



More information about the thelist mailing list