SEOmatic caches meta content with "generate-transform" action urls
Closed this issue · 1 comments
Our site recently encountered an issue with the Blitz plugin where image paths containing asset/generate-transform
URLs were being cached as part of the page content: putyourlightson/craft-blitz#125
We have now also observed this behavior in the page metadata generated and cached by SEOmatic. SEO images that use the "Transform SEO Image" option can output a transform URL, which is then cached by SEOmatic. Our site receives a fair amount of traffic, so this issue was adding hundreds of image transform jobs to the queue – ultimately bringing the site to a crawl. Manually clearing the SEOmatic metadata caches ultimately resolved the issue. As a precaution, we have disabled any "Transform SEO Image" option in the SEOmatic settings.
As mentioned in the Blitz issue above, Craft will not cache template content that contains asset/generate-transform
URLs, and Blitz has also added this check. Can this also be added to SEOmatic?
Apologies, this issue was meant for the craft-seomatic plugin. I recreated the issue there.