View Issue Details

IDProjectCategoryView StatusLast Update
0003714SOGoGUIpublic2016-06-22 11:45
Reportermamachine Assigned Tofrancis  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.1 
Fixed in Version3.1.3 
Summary0003714: styles.css contains duplicate entries
Description

I noticed the web interface is very slow with Firefox (a little less visible via Chrome).

I can see a lag while using the scrollbar on a big mail folder.

By delving into the css used (styles.css) I found that there are a lot of duplicate entries.

By simply removing those duplicates the web interface in big mail folder is really smoother.

To confirm my theory I also tried the opposite (adding duplicates in the css) and the web interface goes really slower with Firefox while s
crolling a folder.

Please use the package clean-css (https://www.npmjs.com/package/clean-css) or an equivalent in order to generate a cleaner css.

Steps To Reproduce

Replace the file "styles.css" by the one attached and compare the performances while scrolling int a big mail folder.

TagsNo tags attached.

Activities

mamachine

mamachine

2016-06-03 10:37

reporter  

styles.css (438,452 bytes)

Related Changesets

sogo: master cd3e7426

2016-06-22 11:23:12

francis

Details Diff
(css) Minify CSS using clean-css

https://github.com/jakubpawlowicz/clean-css
https://github.com/gruntjs/grunt-contrib-cssmin

Fixes 0003714
Affected Issues
0003714
mod - NEWS Diff File
mod - UI/WebServerResources/Gruntfile.js Diff File
mod - UI/WebServerResources/package.json Diff File

Issue History

Date Modified Username Field Change
2016-06-03 10:37 mamachine New Issue
2016-06-03 10:37 mamachine File Added: styles.css
2016-06-22 11:30 francis Changeset attached => sogo master cd3e7426
2016-06-22 11:30 francis Assigned To => francis
2016-06-22 11:30 francis Resolution open => fixed
2016-06-22 11:45 francis Status new => assigned
2016-06-22 11:45 francis Fixed in Version => 3.1.3
2016-06-22 11:45 francis Status assigned => resolved