CondeNast / purgely

A WordPress plugin to manage Fastly caching behavior and purging.
24 stars 9 forks source link

Allow configuring TTL by template type #17

Open tollmanz opened 8 years ago

tollmanz commented 8 years ago

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 commented 8 years ago

Yeah, I can imagine something which allows you to set

(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?