Closed
Bug 511631
Opened 15 years ago
Closed 15 years ago
Problems loading SSL files after clearing cache
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 480619
People
(Reporter: derekochs, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
I have re-created this issue in version 3.0 and 3.5 of Firefox. When you clear the Firefox cache and then go to any page that serves a .js file or other files from an SSL location, javascript is not re-loaded and method calls to methods defined within that javascript will fail. After closing and re-opening firefox, the problem goes away.
If you try the same scenario with an http (Non-SSL) location it will work as expected.
You can see a similar example if you go to facebook's secure site: https://www.facebook.com and clear you cache. Then if you reload the page, you will see a lot of broken images and if you run firebug you will see a bunch of javascript failures. If you do the same thing on the non-secure site: http://www.facebook.com, it will work fine.
Reproducible: Always
Steps to Reproduce:
1.Clear the firefox cache
2.Go to a site that loads javascript from an https (SSL) location and then calls a method within that javascript.
Actual Results:
Javascript method fails with an object not defined error.
I found some related posts online and some people referred to cache control headers like Cache-Control: public affecting this behavior, but cache control headers should only control how long an object is cached — they should never cause the javascript to not be loaded and fail.
Expected Results:
.js file loads and method does not fail.
I also noticed that sometimes after I clear the cache and try to refresh the page, nothing happens, but I saw that behavior reported in another bug.
Summary: Problems leading SSL files after clearing cache → Problems loading SSL files after clearing cache
Updated•15 years ago
|
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
•