WordPress的nocache header生成原理

90 阅读1分钟

调用的是下面这段PHP代码:

$headers = array(
		'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT',
		'Cache-Control' => 'no-cache, must-revalidate, max-age=0',
	);
[[Expires] => Wed, 11 Jan 1984 05:00:00 GMT, [Cache-Control] => no-cache, must-revalidate, max-age=0, [Last-Modified] => false]

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
[外链图片转存失败(img-srogiUPO-1565922687460)(user-images.githubusercontent.com/5669954/600…":