We have a "Pantheon Advanced Page Cache" plugin for WordPress and a module for Drupal that enable metadata to pass from the origin CMS to the CDN as surrogate keys. When CRUD operations fire within the CDN, these packages can then reach out from origin infrastructure to the CDN to purge the appropriate caches.
We expect we will create the same capacity for Next.js to clear CDN caches itself when revalidateTag is fired.
While there will be internal differences between how this functionality works for the CDN and for the internal cache, I hope that developers implementing this functionality don't need to think much about it. Perhaps this can/should be rolled into a wider Deployment Adapter implementation. Related:
We will also need to consider how these packages intersect with the behavior of
- The cache clear button in the dashboard.
terminus env:clear-cache
I think my preference, at least at first, is to require an opting in to platform-level cache clearing invoking this package/application level cache.
We have a "Pantheon Advanced Page Cache" plugin for WordPress and a module for Drupal that enable metadata to pass from the origin CMS to the CDN as surrogate keys. When CRUD operations fire within the CDN, these packages can then reach out from origin infrastructure to the CDN to purge the appropriate caches.
We expect we will create the same capacity for Next.js to clear CDN caches itself when revalidateTag is fired.
While there will be internal differences between how this functionality works for the CDN and for the internal cache, I hope that developers implementing this functionality don't need to think much about it. Perhaps this can/should be rolled into a wider Deployment Adapter implementation. Related:
We will also need to consider how these packages intersect with the behavior of
terminus env:clear-cacheI think my preference, at least at first, is to require an opting in to platform-level cache clearing invoking this package/application level cache.