Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

made cache busting optional #6

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

pthrasher
Copy link

Problem:

  • Cache busting kills breakpoints set in the Chrome dev tools.
  • Chrome dev tools already have an option to disable cache when developing.

Solution:

  • Make the cache busting query string configurable.
  • Ensure default behavior is no different than the current behavior.

To do this, I simple added a new settings var: GEARS_CACHE_BUST

@pthrasher
Copy link
Author

@yumike Sorry for the initial PR, I hadn't realized it, but at the time didn't have all the code committed and pushed. I just updated it. Tests pass, plus I added one new test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant