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)
www.mozilla.org
General
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 | ||
Updated•13 years ago
|
Assignee: nobody → jlong
Assignee | ||
Comment 1•13 years ago
|
||
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.
Assignee | ||
Comment 3•13 years ago
|
||
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
Assignee | ||
Comment 5•13 years ago
|
||
All of the CSS references that we know of are fixed. Closing.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•12 years ago
|
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.
Description
•