[thelist] HTML refresh Issue

Bill Moseley moseley at hank.org
Mon Mar 9 14:15:06 CDT 2009

On Mon, Mar 09, 2009 at 06:47:33AM -0700, Mark Groen wrote:
> 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" />

Don't do that on a live site.  Use correct cache control headers then
when the file changes change its name if you must bust the cache.

Shift+reload on Firefox is a developer's friend.

Bill Moseley.
moseley at hank.org
Sent from my iMutt

More information about the thelist mailing list