Re: Reloading changes JS files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Heyes wrote:

>> When you do an explicit "refresh" or "reload" in your browser, it
>> should ignore whatever it's got cached and refetch your javascript
>> files regardless.
> 
> With Interweb Explorer you need to hold down CTRL and CLICK on refresh
> (as opposed to pressing CTRL+R say) to get a fresh copy. I guess it
> depends on the headers you send on the page. Doing this will send a:
> 
> Cache-Control: no-cache
> 
> request header.

Any cache-instructions on the request are really for intermediate caches
and proxies only.  The webserver itself doesn't do anything with them. 
If you send an unconditional fetch, you will get a document served.  I
don't know if an explicit refresh will cause the browser to do
conditional gets or not, but it probably will.


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux