Quantcast
Channel: Exclude sw.js from the long term caching with glob pattern matching - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Daniel Birowsky Popeski for Exclude sw.js from the long term...

Modified the pattern and added new one that specifies no-cache for the sw.js"headers": [ {"source": "**/!(sw).@(jpg|jpeg|gif|png|js|css)","headers": [{ "key": "Cache-Control", "value":...

View Article



Exclude sw.js from the long term caching with glob pattern matching

In order to enable long term caching, per the Firebase documentation, I have this in the headers configuration:"headers": [ {"source": "**/*.@(jpg|jpeg|gif|png|js|css)","headers": [ {"key":...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>