Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/arduino/2.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
PHP页面赢得';不在页面重新加载时更新,但将在页面刷新时更新_Php_Refresh_Reload_Meta_Head - Fatal编程技术网

PHP页面赢得';不在页面重新加载时更新,但将在页面刷新时更新

PHP页面赢得';不在页面重新加载时更新,但将在页面刷新时更新,php,refresh,reload,meta,head,Php,Refresh,Reload,Meta,Head,当我更新我的静态PHP网站并从菜单中单击另一个页面时,然后返回主页。没有更新任何内容。只有当我按F5时,它才会刷新缓存并更新信息 我需要我的查看器来查看这些更新。如何从缓存中阻止它?我添加了以下内容(参考其他问题的答案): 但这也无济于事。下面是我的头元信息 <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, minimum-scal

当我更新我的静态PHP网站并从菜单中单击另一个页面时,然后返回主页。没有更新任何内容。只有当我按F5时,它才会刷新缓存并更新信息

我需要我的查看器来查看这些更新。如何从缓存中阻止它?我添加了以下内容(参考其他问题的答案):


但这也无济于事。下面是我的头元信息

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
    <!-- some meta tags, important for SEO"--> 
    <meta name="description" content="content description removed for security"/>
    <meta name="keywords" content="content keywords removed for security" />
    <meta name="revisit-after" content="7 days" />
    <meta name="robots" content="index,follow" />
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="-1">
</head>


没有phphere@Fred-这是一个PHP文件。因为里面有PHP代码。但正如我在上面所说的,这只是我的元数据,需要任何帮助吗?哈弗,你真的需要编辑吗?是“挡着你的路”吗?你至少可以通过回答我的问题来帮助我。上帝保佑萨米,有两件事:(1)这对我来说很正常,(2)有些人只是编辑,有些人只是回答,有些人只是问。没有人有义务做任何事。希望这有帮助。没有phphere@Fred-这是一个PHP文件。因为里面有PHP代码。但正如我在上面所说的,这只是我的元数据,需要任何帮助吗?哈弗,你真的需要编辑吗?是“挡着你的路”吗?你至少可以通过回答我的问题来帮助我。上帝保佑萨米,有两件事:(1)这对我来说很正常,(2)有些人只是编辑,有些人只是回答,有些人只是问。没有人有义务做任何事。希望有帮助。
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
    <!-- some meta tags, important for SEO"--> 
    <meta name="description" content="content description removed for security"/>
    <meta name="keywords" content="content keywords removed for security" />
    <meta name="revisit-after" content="7 days" />
    <meta name="robots" content="index,follow" />
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="-1">
</head>