We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84b72bd commit d6109d9Copy full SHA for d6109d9
public/sw.js
@@ -23,7 +23,7 @@ const addResourcesToCache = async (resources) => {
23
*/
24
const putInCache = async (request, response) => {
25
const url = new URL(request.url);
26
- if (url.protocol === "chrome-extension:") {
+ if (url.protocol === "chrome-extension:" || request.method !== "GET") {
27
return;
28
}
29
const cache = await caches.open(CACHE_KEY);
0 commit comments