-
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
Change cacheBust to boolean with default value true, and passthrough query parameter from phetmarks #541
Comments
I'm commandeering this issue based on today's dev meeting discussion. @jessegreenberg said:
@jonathanolson replied:
I replied
@pixelzoom said:
@jbphet said:
@Denz1994 said:
Consensus: SR: I’ll make it boolean, default to true. There is a usage in phettest to change. I’ll pass through query parameters in phetmarks. Hopefully next week! |
The core changes are committed above, those commits will be most pertinent for review. Following are the commits for |
Note to self to consider #759 and phettest moving forward. Commits to many repos follow. |
Marking for dev meeting public service announcement to indicate that cache busting is now back on by default, specified by a boolean query parameter. Pass-through query parameters for phetmarks not yet implemented, should be done in a separate issue, perhaps at different priority. Anybody else want to work on that part? |
Thanks for working on this @samreid, I can work on the phetmarks part. Is it still beneficial to "pass through" to phetmarks or can we add an entry in the phetmarks query param list? |
I'm not sure I would use that "pass through" too much, let's see if it is important for others. |
@samreid The way that this is presented in phetmarks is confusing, it's a checkbox whose value is !cachBust. Can we please change to something like this?
Another reason for changing is that the passthrough |
Agreed its a little confusing. But when a checkbox above is unchecked it doesn't set a value to false it just allows default value for query param. Since default for |
So for meeting 11/14/19 there are two remaining questions. Does anyone want the ability to pass a query parameter to phetmarks to populate values of the sim "Query Parameters" checkboxes? |
At dev meeting: @zepumph recommends a new issue in phetmarks to properly support boolean query parameters in phetmarks, rather than just being able to append a string or not. @pixelzoom also volunteered to clean up the checkbox label itself. We also agreed not to implement the passthrough. |
cacheBuster saved us many times in the past while we were getting used to JS caching, but now it is somewhat of a hindrance because it is impossible to set breakpoints in the dev tools and have them persist across reloads. We can use a query parameter cacheBuster=false, but I'm wondering if this would be a good time to set cacheBuster=false by default. I'm wondering what will happen on iPad--perhaps cache buster is essential there.
The text was updated successfully, but these errors were encountered: