为什么我的index.html总是被caching,如果请求没有结尾的斜杠

在我的var / www /中,我有一个index.html,并在configuration文件中添加了以下指令:

<Directory "/var/www/"> DirectoryIndex index.html Options Indexes FollowSymLinks </Directory> 

在网页浏览器中,如果我使用

  example.com 

那么返回的文档总是被caching,但是

 example.com/ 

没有被caching。 即使在浏览器中,他们都可以访问example.com/。 这里发生了什么?