W3 Total Cache是WordPress的外掛之一,幫助網頁的緩存功能。必裝的外掛之一。本篇介紹Browser Caching使用說明。
有興趣可以參考並加以修改。
官方說明
您只要有安裝W3 Total Cache在您的WordPress絕對要看此篇喔。
General
- Set Last-Modified header = Default value: Enabled
- Set expires header = Default value: Disabled
- Set cache control header = Default value: Disabled
- Set entity tag (ETag) = Default value: Enabled
- Set W3 Total Cache header = Default value: Disabled
- Enable HTTP (gzip) compression = Default value: Enabled
- Enable HTTP (brotli) compression = Default value: Disabled
- Prevent caching of objects after settings change = Default value: Disabled
- Remove query strings from static resources = Default value: Disabled
- Prevent caching exception list = Default value: NULL
- Don’t set cookies for static files = Default value: Enabled
- Do not process 404 errors for static objects with WordPress = Default value: Disabled
- 404 error exception list = Default value:
robots\.txt
[a-z0-9_\-]*sitemap[a-z0-9_\.\-]*\.(xml|xsl|html)(\.gz)?
- Rewrite URL structure of objects = Default value: Disabled
個別細節說明就參考官方吧!因為基本設定會連動下面的CSS & JS、HTML & XML、Media & Other Files三者一起設定喔。
Facebook 留言區