Closed
Bug 460017
Opened 17 years ago
Closed 15 years ago
Cache-Control: public with SSL does not work when page contains meta http-equiv="robots" content="none, noarchive"
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 567360
People
(Reporter: istvan.pato, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20081007 Minefield/3.1b1pre
When I set Cache-Control: public, max-age=7200 on HTTM header, and use SSL, then the page:
1/ reload from origin server on first access,
2/ reload from CACHE on second access,
3/ reload from origin server on third access,
2/ reload from CACHE on fourth access, etc..etc..
If I remove from page the (meta http-equiv="robots" content="none, noarchive"), then the cache works fine!
It is reproductable on FF3.0.3 and Minefield.
Reproducible: Always
Steps to Reproduce:
1/ Set http header on file Cache-Control:public, max-age=7200, and use HTTPS, or use the next JSP programs:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
response.setHeader("Cache-Control", "public,max-age=7200");
java.util.Date d = new java.util.Date();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="robots" content="none, noarchive"/>
<title>FF3 SSL cache bug</title>
</head>
<body>
<h1>FF3 SSL cache bug</h1>
Date in millis = <%=d.getTime()%>
</body>
</html
2/ Set it start page, and look on server side the accesses.
3/ Now close the browser and open it again, the page cached so does not reloaded, it is correct!
4/ Now close the browser and open it again, the page NOT cached and RELOADED, it is NOT correct!
5/ Now close the browser and open it again, the page cached so does not reloaded, it is correct!
6/ Now close the browser and open it again, the page NOT cached and RELOADED, it is NOT correct!
7/ etc,etc,etc...
You can investigate the problem with about:cache options too.
Actual Results:
Even steps: cached page.
Odd steps: not cached page.
Expected Results:
Always cache the page.
It is an issue on performance when reload the full page (AJAX application).
Comment 1•17 years ago
|
||
What is your browser.cache.disk_cache_ssl setting (in <about:config>) ? The default is still false (at the moment).
| Reporter | ||
Comment 2•17 years ago
|
||
(In reply to comment #1)
> What is your browser.cache.disk_cache_ssl setting (in <about:config>) ? The
> default is still false (at the moment).
FALSE (default)
Comment 3•15 years ago
|
||
This will be fixed in gecko 2.0.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•