phpcms安装完后还是会跳到install/install.php

2025-06-17 00:20:27

1、默认在安装前,phpcms项目目录下面的index.html的内容是:<html><head><title>phpcms</title><META HTTP-EQUIV="pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"><META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"><meta http-equiv="refresh" content="0;URL=./install/install.php"></head><body></body></html>

phpcms安装完后还是会跳到install/install.php

2、就是因为<meta http-equiv="refresh" content="0;URL=./install/install.php">这句才使得,自动跳转到./install/install.php的

3、虽然安装后,发现index.html内容变了,但是浏览器仍然还有旧版本index.html的缓存。

phpcms安装完后还是会跳到install/install.php

4、只有情况完缓存,之后才OK,对于为什么浏览器会强制缓存index.html的数据呢?meta里面不是说明了,不缓存么?为什么会这样呢?

phpcms安装完后还是会跳到install/install.php
phpcms安装完后还是会跳到install/install.php
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢