CondeNast / purgely

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

Soft purge as the default? #9

Closed tollmanz closed 8 years ago

tollmanz commented 8 years ago

Would it make sense to have soft purge be the default? This just seems like a wise default. Yes, it means no instant purge, but it probably the safest bet for a plugin that aims to work across different WordPress setups.

simonwistow commented 8 years ago

Yeah, seems sensible. I can't think of any reason not to do it off the top of my head.

tollmanz commented 8 years ago

Thanks @simonwistow! The more I work on the WIRED integration, I keep using soft purges. Since we are defaulting to 24 hour stale-while-revalidate and stale-while-error, I think soft purging as a default makes sense.

I'll change the default behavior to use soft purging and add a config option to override it.

tollmanz commented 8 years ago

11 opened to implement this feature.