从自制网络服务器加载的图像缓存损坏
不久前,我编写了一个网络服务器,我正在我的网站上使用它。
当我导航到 Chrome 中的另一个页面时,来自这个自制网络服务器的图像仍在加载,它们仍然缓存为仅半加载。
这是 Chrome 中的已知错误,还是我的 HTTP 协议实现的问题?
我的网络服务器使用电子标签进行缓存。
A while ago I wrote a webserver which I'm using on a site of mine.
When I navigate to another page in Chrome while the images from this homemade webserver are still loading, they stay cached as only half-loaded.
Is this a known bug in Chrome, or an issue with my implementation of the HTTP protocol?
My webserver uses E-Tags for caching.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编程第一条规则:这是你的错
您需要在此处应用此规则。 Chrome 在与 Apache 通信时,在其 6(至少)次主要迭代中出现这种错误的可能性有多大?
我会在您的服务器上放置一个流量分析器并仔细查看交换。接下来,我会将它们与来自 Apache 等成熟 Web 服务器的服务器进行比较,并记录任何差异。
First Rule of Programming: It's your fault
You need to apply this rule here. What are the chances that Chrome, when communicating with Apache, is likely to exhibit this kind of bug deep into it's 6 (at least) major iteration?
I would put a traffic analyser onto your server and view the exchanges carefully. Next I would compare them with those from a well-established web server like Apache and note any differences.