Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.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
Html gh页面:不缓存某些图像_Html_Github_Github Pages - Fatal编程技术网

Html gh页面:不缓存某些图像

Html gh页面:不缓存某些图像,html,github,github-pages,Html,Github,Github Pages,我让我的构建服务器在每次构建后将通过/失败图形上传到gh页面。我想在我的项目页面上显示它 但是,似乎gh页面正在缓存。我如何告诉gh页面不要缓存此图像 您可以在包含png图像的目录中添加一个名为.htaccess的文件 内容应为: ExpiresByType image/png "access plus 5 minutes" 您可以在包含png图像的目录中添加一个名为.htaccess的文件 内容应为: ExpiresByType image/png "access plus 5 minut

我让我的构建服务器在每次构建后将通过/失败图形上传到gh页面。我想在我的项目页面上显示它


但是,似乎gh页面正在缓存。我如何告诉gh页面不要缓存此图像

您可以在包含png图像的目录中添加一个名为.htaccess的文件

内容应为:

ExpiresByType image/png "access plus 5 minutes"

您可以在包含png图像的目录中添加一个名为.htaccess的文件

内容应为:

ExpiresByType image/png "access plus 5 minutes"

这个怎么样<代码>http://jasperblues.github.io/Typhoon/build-status.png?ver=123这个怎么样<代码>http://jasperblues.github.io/Typhoon/build-status.png?ver=123