You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When updating the PWA version, the clients don't download a new version of the code
Additional context
The css and js files aready have a random part to their name., the problem is index.html which needs to be cached only for an hour.
A cache buster is a technique used in web development that allows changes to end user's web browser cache for specific web resources. When a website makes changes or updates its content, the cache buster helps to prevent the browser from serving cached, outdated versions of the site to users who have recently visited. This is usually achieved by adding a unique parameter to the URL of the resource, forcing the browser to download the new content.
For example, for a stylesheet named "styles.css", a cache buster could append it with a version number or timestamp: "styles.css?v=2" or "styles.css?t=123456789". When the browser sees this new URL, it treats it as a new resource and downloads it, bypassing the cache.
The text was updated successfully, but these errors were encountered:
Describe the bug
When updating the PWA version, the clients don't download a new version of the code
Additional context
The css and js files aready have a random part to their name., the problem is index.html which needs to be cached only for an hour.
A cache buster is a technique used in web development that allows changes to end user's web browser cache for specific web resources. When a website makes changes or updates its content, the cache buster helps to prevent the browser from serving cached, outdated versions of the site to users who have recently visited. This is usually achieved by adding a unique parameter to the URL of the resource, forcing the browser to download the new content.
For example, for a stylesheet named "styles.css", a cache buster could append it with a version number or timestamp: "styles.css?v=2" or "styles.css?t=123456789". When the browser sees this new URL, it treats it as a new resource and downloads it, bypassing the cache.
The text was updated successfully, but these errors were encountered: