{"id":184,"date":"2022-04-24T15:51:14","date_gmt":"2022-04-24T15:51:14","guid":{"rendered":"https:\/\/docs.poweredcache.com\/?p=184"},"modified":"2022-04-24T15:52:01","modified_gmt":"2022-04-24T15:52:01","slug":"powered-cache-headers","status":"publish","type":"post","link":"https:\/\/docs.poweredcache.com\/powered-cache-headers\/","title":{"rendered":"Powered Cache Headers"},"content":{"rendered":"\n

Cache Status Header<\/h2>\n\n\n\n

Powered Cache adds “X-Powered-Cache” header to show whether the request was served from the cache or not. <\/p>\n\n\n\n

For example, if a page is not cached, it will show “X-Powered-Cache: MISS”<\/p>\n\n\n\n

Cache Miss Reason<\/h2>\n\n\n\n

As an addition to the cache status header, if the POWERED_CACHE_ENABLE_LOG<\/strong> enabled or POWERED_CACHE_MISS_REASON<\/strong> defined, it will add “X-Powered-Cache-Miss-Reason” to give more details about the current request.<\/p>\n\n\n\n

\"\"<\/figure>\n","protected":false},"excerpt":{"rendered":"

Cache Status Header Powered Cache adds “X-Powered-Cache” header to show whether the request was served from the cache or not. For example, if a page is not cached, it will show “X-Powered-Cache: MISS” Cache Miss Reason As an addition to the cache status header, if the POWERED_CACHE_ENABLE_LOG enabled or POWERED_CACHE_MISS_REASON defined, it will add “X-Powered-Cache-Miss-Reason” […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"powered_cache_disable_cache":false,"powered_cache_disable_lazyload":false,"powered_cache_disable_ucss":false,"powered_cache_specific_ucss":false,"footnotes":""},"categories":[48],"tags":[],"class_list":["post-184","post","type-post","status-publish","format-standard","hentry","category-misc"],"_links":{"self":[{"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/posts\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":2,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/posts\/184\/revisions"}],"predecessor-version":[{"id":187,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/posts\/184\/revisions\/187"}],"wp:attachment":[{"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/media?parent=184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/categories?post=184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.poweredcache.com\/wp-json\/wp\/v2\/tags?post=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}