Firefox and RequireJS still pulling from cache even with toolbox open
Asked Answered
W

1

6

I'm using FirefoxDeveloperEdition 36 on OSX 10.10.1. I've enabled the "Disable Cache (when toolbox is open)" option in the toolbox's settings panel:

Disable Cache (when toolbox is open) is enabled

However, I'm not seeing my changes until I manually clear the cache via Preferences => Privacy => clear your recent history, even if I have the toolbox open.

I'm using RequireJS to load my script dependencies. It looks like other people have had issues with RequireJS and caching, so I'm guessing this is the root issue.

Is this option not working as promised, or am I doing something wrong? I'd like to avoid the urlArgs workaround if possible.

I haven't noticed this behavior in any other browser.

Wording answered 25/12, 2014 at 22:34 Comment(5)
That option is a client side issue, perhaps you have a server side issue with cache.Celerity
Thanks for the response, but I'm working directly off a local install of Apache, so I would be surprised if the caching is happening server-side. I'm also not seeing this behavior in any other browser.Wording
I am seeing the same thing with cocos2d-js, which does javascript resource loading similar to RequireJS (as far as I can tell)Masseter
I have the same issue with client HTML templates. Definitely Firefox Developer Edition issue. Gone back to normal Firefox with Firebug... :(Goblet
Happens to me as well with text resources (templates) and RequireJS, Firefox 36 (Not developer edition).Verge
E
1

This is a known bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1129806

Be sure to upgrade to the latest Firefox release, as some aspects of the bug have been fixed already.

Eldridge answered 8/10, 2015 at 10:39 Comment(1)
Just a note: still not fixed with version 48. Similar question here.Oui

© 2022 - 2024 — McMap. All rights reserved.