Closed Bug 673916 Opened 13 years ago Closed 13 years ago

[One Mozilla] Force all css references to use the CDN prefix

Categories

(www.mozilla.org :: General, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jlong, Assigned: jlong)

References

Details

While merging mozilla.org into mozilla.com, we discovered media (css/js/img) references that don't respect the media prefix config values. All media references are required to use the static prefixes (js_prefix, style_prefix, img_prefix). This is because there might be media name which conflict (like /style/page.css). So we are going to serve the mozilla.org media off a CDN for the merged site.
Assignee: nobody → jlong
We can rewrite the "image" and "script" folders because those don't conflict with mozilla.com media folders, but "style" conflicts so that needs to be served off the CDN. If we end up needing to run the merged site locally a lot, we can rewrite specific css styles to get the merged site working locally. But for now, requiring a CDN is fine.
Committed r92898 to update some pages without style_prefix.
Changing this to only refer to the CSS references. There are too many js and image references that don't refer to the static prefix, and since those folders ("script" and "image") don't conflict with mozilla.com folders, we are going to RewriteRule them in apache.
Summary: [One Mozilla] Force all css/js/img references to use the CDN prefix → [One Mozilla] Force all css references to use the CDN prefix
r92903 fixed the forums page
No longer depends on: 670115
Blocks: 675172
No longer blocks: 675172
All of the CSS references that we know of are fixed. Closing.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 675181
No longer blocks: 675181
Status: RESOLVED → VERIFIED
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.