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.

Fetching sharded resources from original domain #335

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. ModPagespeedShardDomain example.com s1.cdn.net,s2.cdn.net,s3.cdn.net
2. s*.cdn.net does not have mod_pagespeed installed and just acts as a reverse 
proxy converting all requests for s*.cdn.net/foo -> example.com/foo
3. User requests http://s1.cdn.net/static/mycss.css.ce.asdfasdf.css -> CDN 
requests http://example.com/static/mycss.css.ce.asdfasdf.css -> mod_pagespeed 
cannot find resource because it is being requested on the wrong domain.


This is actually documented behavoir. Specifically, ShardDomain requires that 
the servers you rewrite the domains to point to have mod_pagespeed installed.

However, this seems like a reasonable use-case and we should be able to figure 
out which resource was intended.

Original issue reported on code.google.com by sligocki@google.com on 19 Aug 2011 at 2:31

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions