You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're looking to migrate a site to Servd Static Cache and the site currently uses Upper and Verbb's SuperTable. We ran into an issue with Upper where the Super Table block element (similar to the Matrix Block) was creating havoc with the cache busting and had to exclude it from the cache logic.
In looking at your code, it appears you exclude the User and MatrixBlock Elements:
But there doesn't appear to be an event where we can add additional custom Elements that may require the same treatment.
Could you add an event where we can add custom elements or hard code support for also ignoring the verbb\supertable\elements\SuperTableBlockElement custom Element Type? Currently, I think we'd have to fork the repo and include our patch version in our project directly. I'm open to other solutions I'm overlooking too.
As Super Table has been retired for Craft 5, this will no longer be an issue after Craft 4, but we'll need this on a Craft 4 site until we have a chance to upgrade to Craft 5.
We're looking to migrate a site to Servd Static Cache and the site currently uses Upper and Verbb's SuperTable. We ran into an issue with Upper where the Super Table block element (similar to the Matrix Block) was creating havoc with the cache busting and had to exclude it from the cache logic.
In looking at your code, it appears you exclude the User and MatrixBlock Elements:
craft-asset-storage/src/StaticCache/Tags.php
Lines 21 to 24 in aba85a8
But there doesn't appear to be an event where we can add additional custom Elements that may require the same treatment.
Could you add an event where we can add custom elements or hard code support for also ignoring the
verbb\supertable\elements\SuperTableBlockElement
custom Element Type? Currently, I think we'd have to fork the repo and include our patch version in our project directly. I'm open to other solutions I'm overlooking too.As Super Table has been retired for Craft 5, this will no longer be an issue after Craft 4, but we'll need this on a Craft 4 site until we have a chance to upgrade to Craft 5.
@engram-design
The text was updated successfully, but these errors were encountered: