简体   繁体   English

Chrome是否会缓存所有网页?

[英]Does Chrome cache all the web pages?

I have to demo an RPA script which clears cache. 我必须演示清除缓存的RPA脚本。 I'm planning to write a web page to demonstrate. 我打算编写一个网页进行演示。 I need to cache this web page which so that initially it doesn't show the modifications which I make in the HTML. 我需要缓存此网页,以便最初不显示我在HTML中所做的修改。 When I run the script it should clear the cache and reflect the changes. 当我运行脚本时,应清除缓存并反映更改。 Need some help in how Google cache functions and how do I go about this project. 在Google缓存的功能以及如何进行此项目方面需要一些帮助。

Google(and other navigators) are using http cache controle, so as long as your server is setting the correct http headers, it should works. Google(和其他导航器)正在使用http缓存控件,因此只要您的服务器设置了正确的http标头,它就可以正常工作。

see : cache-control 参见: 缓存控制

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM