BaseHTTPRequestHandler - bypassing browser cache

JanC usenet_spam at janc.invalid
Sat Oct 18 00:57:15 EDT 2003


crescent_au at yahoo.com (Ben) schreef:

> My problem is whenever I access a link from the browser, even the
> starting page "http://localhost:9857/", it doesn't seem to read the
> cache file. It just seems to return me the data from browser cache,
> unless I press the reload button on the browser, then it fetches it
> from the internet and updates the cache file.
> 
> What seems to be the problem?? I'd like to always read from my cache
> file first. Any suggestions??

Did you read the HTTP/1.1 specification?

RFC-6216, section 13 "Caching in HTTP":
<http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html>

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9




More information about the Python-list mailing list