chesio / bc-cache

Simple full page cache plugin for WordPress inspired by Cachify
The Unlicense
9 stars 0 forks source link

Caching HTTP headers #28

Closed szepeviktor closed 2 years ago

szepeviktor commented 5 years ago

Do you have a plan/opinion of HTTP headers?

  1. Headers coming from WordPress core
  2. Custom headers from themes and plugins

AFAIK Now they are lost.

chesio commented 5 years ago

Yeah, they are lost now.

If any special HTTP headers are required, they would have to be handled via .htaccess file. So far I have not missed this feature - do you have any example of plugin or WordPress core HTTP header that is lost due to this?

szepeviktor commented 5 years ago

do you have any example of plugin or WordPress core HTTP header that is lost due to this?

You set "noindex" in Yoast SEO. (yes I know the HTML meta is not lost)

szepeviktor commented 5 years ago

Or let's say I'd like visitors to cache one of my pages with Cache-Control:

szepeviktor commented 5 years ago

Canonical Link: headers for CDN?

szepeviktor commented 2 years ago

🚀