Open faustinoaq opened 4 years ago
@faustinoaq do you think you can take a look at this?
Looks like this has to do with how Chromium and Chrome behave on 'Cache-Control' header, which is set by pipes/static.cr to private, max-age=3600.
I tried reproducing this in Chrome but Chrome for some reason doesn't cache the main.bundle.css file but Chromium caches it and is reproducible.
@eliasjpr @faustinoaq Do you think it would be a good idea to make the static response headers configurable? Would be happy to create a PR.
@midhun-at-vineti Yes lets make those headers configurable if possible have some default for Chromium
@eliasjpr on it. 👍
Description
Chromium Browser doesn't update the code changes in
main.js
ormain.scss
Steps to Reproduce
amber watch
$primary
inmain.scss
Expected behavior: color changes
Actual behavior: colors doesn't change
Reproduces how often: 100%
Versions
Additional Information
The issue goes away when I check the option
Disable cache (when DevTools is open)
I opened this issue to confirm Is this the right workaround or should I change some cache settings in my app?
Happy Crystalling! :heart: :sunglasses: