Open Bug 827518 Opened 11 years ago Updated 2 years ago

Lots of unused CSS is served to /firefox/new/ page

Categories

(www.mozilla.org :: Pages & Content, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: icaaq, Assigned: icaaq)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20130107 Firefox/20.0
Build ID: 20130107030932

Steps to reproduce:

1. When using Google chrome type http://www.mozilla.org/en-US/firefox/new/ in the address bar and press Enter
2. Open up the developer tools and run a webpage performance audit under the Audits tab.


Actual results:

~27% (17KB) of the CSS served to the user it not used.


Expected results:

Because of the high traffic on this page, a more optimized version of the CSS should be sent to the user. This will improve performance for the user and save bandwidth for mozilla.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to Isac Lagerblad (:icaaq) from comment #0)
> User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0)
> Gecko/20130107 Firefox/20.0
> Build ID: 20130107030932
> 
> Steps to reproduce:
> 
> 1. When using Google chrome type http://www.mozilla.org/en-US/firefox/new/
> in the address bar and press Enter
> 2. Open up the developer tools and run a webpage performance audit under the
> Audits tab.
> 
> 
> Actual results:
> 
> ~27% (17KB) of the CSS served to the user it not used.
> 
> 
> Expected results:
> 
> Because of the high traffic on this page, a more optimized version of the
> CSS should be sent to the user. This will improve performance for the user
> and save bandwidth for mozilla.

The /firefox/new/ page will go away in the next few weeks once new-b replaces it.
(In reply to Chris More [:cmore] from comment #1)

> The /firefox/new/ page will go away in the next few weeks once new-b
> replaces it.

On /new-b/ there is 16.47KB (25%) of unused CSS. Not a big deal on regular sites but I think this page is special. I have a strong feeling that a typical user for this page just visits this specific page (hit and run) and does not visit any other pages on mozilla.org. (just speculating though)
(In reply to Isac Lagerblad (:icaaq) from comment #2)
> (In reply to Chris More [:cmore] from comment #1)
> 
> > The /firefox/new/ page will go away in the next few weeks once new-b
> > replaces it.
> 
> On /new-b/ there is 16.47KB (25%) of unused CSS. Not a big deal on regular
> sites but I think this page is special. I have a strong feeling that a
> typical user for this page just visits this specific page (hit and run) and
> does not visit any other pages on mozilla.org. (just speculating though)

+1 to that. On pages where speed and conversions are the number one priority, anything unused should be minimized or removed. We should continuously improve important pages like the new-b page and others. Let's keep this open to evaluate new-b and specifically what can be removed.
Cmore:  what do you want to do with this one?  Close?  Create a task on the mozilla.org kanbanery board backlog?
Flags: needinfo?(chrismore.bugzilla)
:icaaq: Can you do a pull request to simply the CSS and remove the unused elements?

jbertsch: I think this is worthwhile because the smaller and quicker the page, the better for conversions.
Flags: needinfo?(chrismore.bugzilla)
Priority: -- → P3
cmore: yes. will have a look at it today.
(In reply to Isac Lagerblad (:icaaq) from comment #6)
> cmore: yes. will have a look at it today.

ok, cool. Thanks!!
Assignee: nobody → icaaaq
Blocks: mozorg-opt
You need to log in before you can comment on or make changes to this bug.