Ticket #770 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Speed up the rendering of web pages (re-arranging the CSS files)

Reported by: madarche Owned by: madarche
Priority: P2 Milestone: CPS 3.4.0
Component: CPSDefault Version: TRUNK
Severity: normal Keywords: css css1 css2 netscape speed rendering tuning
Cc:

Description

The rendering of CPS web pages takes too long and put the web browser under too much stress.

The reasons:

  1. CPSDefault comes with 2 CSS files (1 for CSS1 spec and 1 for CSS2.1 spec)
  1. CPSDefault ships the CSS directives of CPSBoxes

Actions:

  • Merge the files nuxeo_css1.css.dtml and nuxeo_css2.css.dtml into one cpsdefault.css.dtml.

This new cpsdefault.css.dtml file will then only contain CSS 2.1 directives and the merging will result in a smaller file, with shorter download time for clients and less stress on the web browsers.

We should do that since CPS 3.4 will not take extra care to support Netscape 4.7 or older browsers.

Having only one file to maintain will also ease developer work and debugging.

  • Remove in cpsdefault.css.dtml all the CSS directives pertaining to CPSBoxes and put them in a cpsboxes.css.dtml file.

Change History

comment:1 Changed 14 years ago by bdelbosc

  • Keywords tuning added

comment:2 Changed 14 years ago by madarche

  • Owner changed from trac to madarche

The first step of this improvement has been made: the files nuxeo_css1.css.dtml and nuxeo_css2.css.dtml have been merged into one file in the changeset [24560].

The next major step is to simplify/factorize all the CSS directives present in this file.

This is done progressively to avoid transition problems.

comment:3 Changed 14 years ago by madarche

  • Status changed from new to closed
  • Resolution set to fixed

Finally fixed in [30632] and [30633].

Note: See TracTickets for help on using tickets.