Was just wondering if this module works with Authcache?

Does it also work with Views Content Cache and Panels Content Cache?

Sorry, I am unfamiliar with how they all work together.

Also, in my setup, I have "Expiration of cached pages" set to 3 hours and "Minimum cache lifetime" not set at all. I noticed "expire" is not recommended on Pantheon (https://pantheon.io/docs/modules-plugins-known-issues/) so I am scared to set the "Minimum cache lifetime". Is this a valid concern?

I am using Pantheon.

Thanks!

Comments

adamcadot created an issue. See original summary.

adamcadot’s picture

Component: Code » Documentation
david strauss’s picture

You probably don't want to use "Minimum Cache Lifetime" at all. It's been removed in Drupal 8, and its purpose in Drupal 7 is limited at best. The Cache Expiration module essentially tries to do the same thing as this module, just with different backends.

As for compatibility with other module affecting the cache, I'd simply try it out! If you see related entries in the "Surrogate-Key-Raw" header coming back from Pantheon after enabling Views Content Cache or Panels Content Cache, then it should work. Our module relies on using the cache keys already in use for items on any given page. Cache tagging is a lot more limited on Drupal 7 than Drupal 8, though, so your mileage may vary.

If you don't see extra entries in the response header, it doesn't mean that the modules are incompatible in a way that will cause problems. It just means that the CDN cache won't clear automatically as things change. The page will still get updated in the CDN when it expires normally (after the configured time).

sgdev’s picture

FYI, there seems to be a bug that causes Authcache and Panels Content Cache to not work well together.

Panels Content Cache settings can be set for a panel with no cache settings, but if a change needs to be made to the cache settings, it shows the Authcache settings for the panel instead, when it should be showing Panels Content Cache.

sgdev’s picture

I think we may have identified a possible cause of the issue between Authcache and Panels Content Cache: https://www.drupal.org/project/panelizer/issues/2957261

markandrewsutton’s picture

FWIW, I'm having success with this module in tandem with Views Content Cache. As long as the view is configured correctly, cache expires predictably and instantly.