I'm currently experimenting with this library, and was wondering if a certain funcionality is possible. For example, let's say I have a dynamic website, with pages generated on the fly with a structured URL like https://example.com/post/[some-dynamic-slug]
. With this in place, as of my understanding, the prioritize_critical_css filter needs to access each auto generated page a couple of times until it does it's magic. But, given the nature of the structured dynamic content and static assets (yes, it's not a general use case, but bare with me), the Critical CSS will be pratically the same for each page generated at /post/[some-dynamic-slug]
. The question is, is there a way to instruct mod-pagespeed to reuse it's previously calculated prioritize_critical_css given a pattern? I looked up the docs, but couldn't find anything like this.