Re: Reloading changes JS files?

From: Date: Thu, 29 May 2008 01:35:58 +0000
Subject: Re: Reloading changes JS files?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-274790@lists.php.net to get a copy of this message
Hey all, I don't know if it's practical to change the name of the file when they are updated, but another thing I found along similar lines reading up on this was something like this was: ajax/players.js?version=21 Would that also do it? Not sure what the server is sending for EXPIRES, looking up how to determine that now. Skip dhorton@iprimus.com.au wrote:
Use a version numbered name for the js? e.g. ajax/players21.js What does your server send for the EXPIRES for js files? i.e. what have you told the browser to cache. What is the browser cache policy? David
-- Skip Evans Big Sky Penguin, LLC 503 S Baldwin St, #1 Madison, WI 53703 608-250-2720 http://bigskypenguin.com =-=-=-=-=-=-=-=-=-= Check out PHPenguin, a lightweight and versatile PHP/MySQL, AJAX & DHTML development framework. http://phpenguin.bigskypenguin.com/

« previous php.general (#274790) next »