[Webkit-unassigned] [Bug 7396] links in this site come up as source code - sometimes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 14 18:13:10 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=7396





------- Comment #21 from ddkilzer at webkit.org  2007-01-14 18:13 PDT -------
A much shorter way to reproduce the issue (sending If-Modified-Since header
with request):

$ telnet projecteuclid.org 80
Trying 128.84.158.74...
Connected to projecteuclid.org.
Escape character is '^]'.
GET /Dienst/UI/1.0/Journal?authority=euclid.annm HTTP/1.1
Host: projecteuclid.org
If-Modified-Since: Mon, 15 Jan 2007 01:35:16 GMT
Connection: close

HTTP/1.1 304
Date: Mon, 15 Jan 2007 01:41:35 GMT
Server: Apache/1.3.31 (Unix) mod_perl/1.29
Connection: close
Content-Type: text/plain; charset=ISO-8859-1

Connection: close

Connection closed by foreign host.

--

Why is WebKit caching this page?  It has a question mark in the URL, which
commonly means it's a CGI script and shouldn't be cached.  Perhaps it's the use
of location.replace() that's causing it to be cached?

This seems to be the root of the problem since other browsers don't appear to
cache this document, or they at least don't send an If-Modified-Since header
when requesting the document a second time.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list