Re: Reloading changes JS files?

From: Date: Thu, 29 May 2008 10:03:01 +0000
Subject: Re: Reloading changes JS files?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-274799@lists.php.net to get a copy of this message
<img src='/image/bulk.jpg?112344324' /> anything after the question mark will get ignored by the browser. Except that the browser will think that it is a new URL that it has never seen before and it will call to the server for a fresh copy of the file.
Another options is instead of a question mark use a forward slash. This may be Apache specific though. Eg. <img src='/image/bulk.jpg/112344324' /> ISTR question marks are not search engine friendly, so for pages this may be a preferred option. -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv +----------------------------------------+ | Access SSH with a Windows mapped drive | | http://www.phpguru.org/sftpdrive | +----------------------------------------+

« previous php.general (#274799) next »