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

Reply via email to