Closed
Bug 1172156
Opened 10 years ago
Closed 10 years ago
Caching happening even when toggled off
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nolski, Unassigned)
Details
Attachments
(1 file)
|
229.13 KB,
image/png
|
Details |
Request still seem to be cached (in the network toolbar) when I perform a hard refresh (cmd + shift+ R). I have Disable Cache (when the toolbox is open) toggled in dev tools (and I have dev tools open). This is making requests to localhost. I also have browser.cache.offline.enable set to False.
How is it loaded? XHR? Script tag? Something else?
Flags: needinfo?(me)
| Reporter | ||
Comment 2•10 years ago
|
||
It's loaded through a script tag. There are other resources that are being cached as well which are loaded through XHR using requirejs.
Flags: needinfo?(me)
Comment 3•10 years ago
|
||
Disable cache currently only disables the cache until the page load event is fired. We plan on fixing this in bug 1027579.
Could it be that your script loads after the load event is fired?
| Reporter | ||
Comment 4•10 years ago
|
||
That is very likely. All the scripts are being loaded through require.js. Is there a known work around?
| Reporter | ||
Comment 5•10 years ago
|
||
In case anyone is also having issues writing a requrejs application and doesn't want to restart their browser every time they make a code change, this stack overflow solution provided a good temporary work around. http://stackoverflow.com/questions/8315088/prevent-requirejs-from-caching-required-scripts
| Reporter | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•