Skip to content
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
@oschaaf

Description

@oschaaf

Scripts written into the html by PSOL for (for example) defer_javascript and lazyload_images cannot be rewritten to be served via a CDN.

From https://groups.google.com/d/msgid/mod-pagespeed-discuss/fd26cdb8-f4bc-4629-96cd-dd604b5b1649%40googlegroups.com:

  • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions