-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Assets cached on production despite having file changes. #2002
Comments
I've fixed that issue in our app by appending a i.e. edit
|
Worked like a charm, thank you gavinbunney! |
Hi .. i try this method in my gruntfile.js like code below. watch: {
|
How did you actually make use of cache initially? For me nothing is cached in browser, even though server returns 304 code - there still is a round-trip request. |
@sochka a In our app instance, we also have middleware that adds cache headers to various requests (depending on what is being requested, cache headers are different), something along the lines of:
|
@gavinbunney thanks, I've made it work using |
Is there a way to make it so browsers force reloading of asset files such as Javascript and CSS files upon there being changes?
Particularly referring to production.css/js
The text was updated successfully, but these errors were encountered: