[Koha-bugs] [Bug 1918] Minify JavaScript and CSS
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 5 09:27:08 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1918
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9112|0 |1
is obsolete| |
--- Comment #4 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 9917
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9917&action=edit
Bug 1918 - Minify JavaScript and CSS
Rebased patch.
I test for curiosity :)
For testing, install libjavascript-minifier-xs-perl and
libcss-minifier-xs-perl.
You need to create a koha-tmpl/intranet-tmpl/prog/en/combined directory with
write mode for www-data
Feedback:
With firebug, I see 2 errors on the intranet detail page:
GET menu-button-arrow.png 404 Not Found
GET sprite.png 404 Not Found
detail.pl:
21 requests 165.2 KB (159 KB from cache) 2.41s (onload: 2.5s)
vs
9 requests 158.9 KB (146.2 KB from cache) 2.66s (121.8 KB JS + 24.3 KB CSS)
search.pl (results):
20 requests 167.8 KB (159 KB from cache) 1.6s (onload: 3.68s)
vs
4 requests 158.2 KB (146.2 KB from cache) 4.04s (onload: 4.05s) (121.8 KB JS +
24.3 KB CSS)
We observe a decrease of the number of requests and data size, but also a small
increase of the load time.
I don't know if you have checked the load time.
I did not test with Plack !
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list