卸载 Plone 主题不会删除自定义图标
系统信息:Mac OSX 10.7、Python 2.6.7、Plone 4.0.7
我正在为 Plone 4 主题创建卸载配置文件,除了我无法将图标恢复为原始图标外,一切都进行得很顺利。自定义图标位于我的皮肤路径中的图像皮肤目录中,我已使用卸载配置文件成功删除了这两个图标。刷新我网站的任何页面后,Sunburst 主题已被应用,除了图标之外,一切都很好。我正在前台模式下完成所有工作,因此除非我弄错了,否则不应有任何缓存导致此情况。
任何建议将不胜感激。
System Info: Mac OSX 10.7, Python 2.6.7, Plone 4.0.7
I'm creating an uninstall profile for a Plone 4 Theme, and everything has gone really smoothly except I can't get the favicon to revert back to the vanilla one. The custom icon was in my images skins directory in my skin path, both of which I've successfully removed with the uninstall profile. After refreshing any page of my site the Sunburst Theme has been applied and all is well except for the favicon. I'm doing all of my work in foreground mode so unless I'm mistaken there shouldn't be any caching causing this.
Any suggestions would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
某些浏览器会将网站图标与浏览器缓存的任何设置分开缓存。只要您直接调用(图标的)URL 时获得的图像是正确的,我就不会担心。
Some browsers cache the favicon separately from any setting you may have for the browser cache. I wouldn't worry as long as the image you get when you call the URL (of the favicon) directly is correct.
网站图标通常与您的浏览器历史记录一起缓存,因此您可以尝试清除它以及缓存。
您还可以向您的网站图标链接添加缓存清除查询,这将导致其重新加载:
Favicons are often cached along with your browser History, so you might try clearing that as well as your cache.
You can also add a cache-busting query to your favicon link which should cause it to reload: