[英]How to I get control of the Cache-Control header with Wordpress on Apache?
[英]Cache-Control: no-transform header in WordPress without plugin
如何在不使用插件的情況下在WordPress網站中插入Cache-Control: no-transform
HTTP標頭? 可以將其插入.htaccess
或function.php
嗎?
你應該能夠與添加Cache-Control頭.htaccess
,如果它被送達Apache和你.htaccess
啟用:
標頭設置Cache-Control“無變換”
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.