View Issue Details

IDProjectCategoryView StatusLast Update
663Composrcorepublic2012-09-15 16:14
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary663: Javascript and CSS include demodularisation
DescriptionIf the front page of a zone is viewed by a Guest, and we're loading up the Javascript/CSS dependencies via the initially-seeded self-learning cache, at this point:
 - save what CSS and Javascript files are used into the values table, under resources__<zone>
 - merge all the resources together when outputting CSS and Javascript (resources__<zone>.css and resources__<zone>.css), and just reference the merged copy

Then whenever any user views any page of this zone, look to see if resources__<zone> is set, inside the CSS and Javascript output functions. If it is, don't output anything defined under resources__<zone> but do output resources__<zone>.css/resources__<zone>.js.


This should slightly increase performance by reducing the number of scripts/CSS files. It should improve Composr's grade on performance testing tools.
Additional InformationSuccess metrics (not guaranteed, but nice targets to check to after work is done, to avoid stopping short):
 - Top score in each area of Google PageSpeed
 - Top score in each area of YSlow
TagsType: Performance
Attach Tags
Time estimation (hours)3
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change