尽管缓存了图标,它们仍然在获取 [英] Favicons still fetching despite caching them
本文介绍了尽管缓存了图标,它们仍然在获取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个收藏夹列表
我正在使用 service worker 缓存所有文件,即它的 PWA,我的文件如下
Am using a service worker to cache all files, i.e. its a PWA, my files are as below
"/",
"/index.html",
"/favicon/apple-touch-icon.png",
"/favicon/favicon-32x32.png",
"/favicon/favicon-16x16.png",
"/favicon/site.webmanifest",
"/favicon/safari-pinned-tab.svg",
"/favicon/favicon.ico",
"/favicon/browserconfig.xml",
"/app.css",
"/app.js",
问题出在我的两个非常具体的文件上,
The problem is with my two very specific files,
这两个文件/favicon/favicon-32x32.png
和/favicon/favicon-16x16.png
.如果您有任何帮助,我们将不胜感激.
These two files /favicon/favicon-32x32.png
and /favicon/favicon-16x16.png
. Any help here please would be highly appreciated.
推荐答案
这是一个已知的 Chrome 错误.从2016年就知道了.由于安全问题,目前没有解决方案.
This is a known Chrome bug. It is known from 2016. No solution till now due to security issue.
26-11-2018 更新已解决
Update at 26-11-2018 solved
服务工作者:FetchEvents 用于对同源网站图标的请求
这篇关于尽管缓存了图标,它们仍然在获取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文