Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring TTL by template type #17

Open
tollmanz opened this issue Nov 3, 2015 · 1 comment
Open

Allow configuring TTL by template type #17

tollmanz opened this issue Nov 3, 2015 · 1 comment

Comments

@tollmanz
Copy link
Collaborator

tollmanz commented Nov 3, 2015

I imagine someone will want to be able to define different TTLs on a template type basis (e.g., long TTL for posts versus home page). It makes sense to build this into the plugin as opposed to having individual developers implement this through their own code.

@simonwistow
Copy link

Yeah, I can imagine something which allows you to set

  • TTL
  • Stale-If-Error
  • Stale-While-Revalidate

(see this) based on post type. Can it also be done based on content type? I.e images and CSS etc? Or are they not intercepted by Wordpress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants