'Cache control for browser
My website is built in React, and I'm serving it using Firebase Hosting.
But mine doesn't show the changes immediately.
So, I tried to change firebase setting value below
"headers": [
{
"source": "**/*.html",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0, no-cache"
}
]
},
As a result, my website started responding with no cache.
However, the changes are still not reflected immediately.
How do I set cache settings on the browser side(Request Headers)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
