-
-
Save byteshiva/68c04da8d6ec1dab190b353958840438 to your computer and use it in GitHub Desktop.
firebase.json with support for HTML5 routing and cache busting (as long as the compiled html file also supports cache busting).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"firebase": "my-awesome-app", | |
"rewrites": [ { | |
"source": "**", | |
"destination": "/index.html" | |
} ], | |
"headers": [ { | |
"source" : "**/*.html", | |
"headers" : [ { | |
"key" : "Cache-Control", | |
"value" : "private, max-age=0, no-cache" | |
} ] | |
} ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment