This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
rewrite_domains doesn't apply to static assets #1350
Closed
Description
Scripts written into the html by PSOL for (for example) defer_javascript and lazyload_images cannot be rewritten to be served via a CDN.
- There's the StaticAssetPrefix [1] option, which takes an absolute path.
I did attempt to specify a full domain in this option instead of just that. The option allows doing so and it will be used in the html output correctly, but it looks like mapping the resulting incoming requests fails. - The MapRewriteDomain option does not apply to pagespeed's static assets.
Metadata
Metadata
Assignees
Labels
No labels