0

我主要是在努力找出这背后的原因。该网站在 firefox、IE10(及更高版本)、safari 等上运行良好,但在 IE9(可能还有更低版本)上,网站样式无法正常运行。

我使用了两个域,一个网站功能正常,而在另一个域上,我上传了完全相同的文件,但它不能正常工作。

生病为您提供两个 URL 的 http://www.cilnet.com - 在 IE9 上不正常 http://www.microlinkcilnet.com/cilnet - 完全相同的网站 - 在 IE9 上正常运行

这是一张区别这两个网站的图片 http://i.stack.imgur.com/ehqnI.jpg

您的帮助将不胜感激。

4

1 回答 1

0

Its caching issure as WindsorAndy wrote.

press crtl+F5 once or twice to see the updated background colors that you added to the css.

refer to How to prevent css caching

Also prevent all cache with random number would mean you gain no benefit at all from browser caching which would be horrendous for performance.

You'd be better off doing something like adding a version number to the end of the file name like <link rel="stylesheet" type="text/css" href="style.css?version=1.12 that you update version as needed.

于 2013-10-03T12:12:42.380 回答