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
{{ message }}
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
So adding that config does make us recognize it as css for extend_cache_css purposes but not for rewrite_css purposes.
It looks like for css we don't use resource_tag_scanner::ScanElement but instead implement a css-specific tag scanner in CssTagScanner::ParseCssElement.
It doesn't look like there's any config tweak that would make this work, or even a simple code tweak. Instead we would need to:
Modify CssTagScanner to call resource_tag_scanner to find out about any overrides it defines.
Modify all callers of CssTagScanner::ParseCssElement to accept getting multiple stylesheet urls in response.
Using
UrlValuedAttributewithStylesheetdoesn't work:So adding that config does make us recognize it as css for
extend_cache_csspurposes but not forrewrite_csspurposes.It looks like for css we don't use
resource_tag_scanner::ScanElementbut instead implement a css-specific tag scanner inCssTagScanner::ParseCssElement.It doesn't look like there's any config tweak that would make this work, or even a simple code tweak. Instead we would need to:
Modify
CssTagScannerto callresource_tag_scannerto find out about any overrides it defines.Modify all callers of
CssTagScanner::ParseCssElementto accept getting multiple stylesheet urls in response.