
內容簡介
CloudFlare 是一款熱門的 CDN 服務。它們可緩存像 .jpg、.css 或 .html 這樣的靜態檔案,但如果沒有Page Rule,就無法對 WordPress 生成的動態頁面進行緩存。
設置了「Page Rule」(例如:https://examle.com/article/* )後,每個頁面都將被緩存(當然,你的永久連結結構應該是這樣的:https://example.com/article/2019/01/01/POST_ID)。
這個外掛程式「hamecache」提供緩存控制功能。當你更新文章時,「hamecache」會自動在 cloudflare 端點位置清除相關的緩存。
外掛標籤
開發者團隊
原文外掛簡介
CloudFlare is a popular CDN service. They caches static files like .jpg, .css or .html, but they doesn’t cache dynamic pages generated by WordPress without Page Rule.
Once Page Rules are set, for exmple, https://examle.com/article/*, every single page will be cached(of course, your permalink structure should be like https://example.com/article/2019/01/01/POST_ID).
This plugin hamecache provides cache control feature. If you update your article, hamecache automatically flush related caches on cloudflare edge location.
