Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 修改css文档后站点未更改(在Chrome中使用Localhost)_Google Chrome_Firefox_Localhost - Fatal编程技术网

Google chrome 修改css文档后站点未更改(在Chrome中使用Localhost)

Google chrome 修改css文档后站点未更改(在Chrome中使用Localhost),google-chrome,firefox,localhost,Google Chrome,Firefox,Localhost,我在css中更改了一些值(例如,边距从20更改为200),浏览器不会显示任何更改-使用firebug检查:边距保持不变。这种情况发生在使用Chrome和url(localhost/../my\u html\u file\u name)时 然而,若我在浏览器中使用自定义的打开html页面,任何更改都会立即显示出来 此外,我尝试在Firefox中使用localhost,该浏览器也会立即显示任何更改 附言。 新闻:更改了目录名。问题消失了 浏览器使用缓存来存储您经常访问的页面,以便更快地加载它们。 您

我在css中更改了一些值(例如,边距从20更改为200),浏览器不会显示任何更改-使用firebug检查:边距保持不变。这种情况发生在使用Chrome和url(localhost/../my\u html\u file\u name)时

然而,若我在浏览器中使用自定义的打开html页面,任何更改都会立即显示出来

此外,我尝试在Firefox中使用localhost,该浏览器也会立即显示任何更改

附言。
新闻:更改了目录名。问题消失了

浏览器使用缓存来存储您经常访问的页面,以便更快地加载它们。
您应该清除缓存,因为浏览器可能会加载页面的旧版本(存储在缓存中的版本)

可能正在缓存。清除缓存。谢谢你的回答。似乎这是删除页面“常量形式”的正确方法,不幸的是,我不知道如何清除特定localhost文件夹的缓存。