-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eliminate ?cacheBust? #925
Comments
related to #866 |
From 4/2/20 dev meeting: We think unless we try to get cache busting working for ES6 modules in addition to preloads, then we should just get rid of this and rely on dev tools or local servers for no caching. @samreid volunteered to do this. |
Some questions came up as I was working on this:
|
Fixed in the preceding commits. Most changes are in chipper and phetmarks. Then I updated the html and test-html files for each repo. Some questions came up as I was working on this:
Also, does one of you mind reviewing this change? |
after investigation, this query parameter should stick around. It has to do with logic when processing giant data stream files, and it is nice to support caching them when iterating on the preprocessor. I can rename it if that would be less confusing. Do you think that is necessary? |
Interaction Dashboard's ?cacheBust can stick around and does not need to be renamed. |
Excellent. Anything else for me here? |
I think the last step for this issue is for @jonathanolson to review #925 (comment) |
It seems generally useful, but I don't see a use right now. A slight preference for leaving it. If that's ok with you, let's close here? |
After moving we moved to ES6 modules, we no longer have the ability to
?cacheBust
the main JS code, as we did for requireJS. We opened #866 for alternative ideas about cache busting the ES6 module code, but most developers now just run Chrome with devtools open and disable cache. We recently added the ability to cache bust preloads as part of #755. We should decide whether we want to keep this cache busting facility for preloads now that we know that facility won't work for the main ES6 modules. We may decide to remove cache busting altogether. In that case, search all occurrences of "cachebust" (case insensitive) across JS+HTML files to see where this is in use. Let's touch base on this at a developer meeting before we proceed.The text was updated successfully, but these errors were encountered: