Mailinglist Archive: yast-devel (33 mails)

< Previous Next >
Re: [yast-devel] Webyast - speed up
  • From: Michal Zugec <mzugec@xxxxxxx>
  • Date: Thu, 01 Jul 2010 15:13:44 +0200
  • Message-id: <4C2C9488.1060205@xxxxxxx>

I welcome any suggestions, complains, issues or comments

Josef



Chromium browser -> Development tools ->Audit (tested with
localhost:54984/groups page):

There are multiple resources served from same domain. Consider combining
them into as few files as possible.

1.


7 CSS resources served from localhost.
18 JavaScript resources served from localhost.

Compressing the following resources with gzip could reduce their
transfer size by about two thirds (~415.85KB):

1. groups <http://localhost:54984/groups> could save ~96.24KB
2. yast.css
<http://localhost:54984/stylesheets/yast.css?1272550209> could
save ~2.45KB
3. grid.css
<http://localhost:54984/stylesheets/grid.css?1272029891> could
save ~3.07KB
4. style.css
<http://localhost:54984/stylesheets/style.css?1277972267> could
save ~12.23KB
5. jquery.jqplot.css
<http://localhost:54984/stylesheets/jquery.jqplot.css?1277799699>
could
save ~2.45KB
6. jquery-ui-1.7.2.custom.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom.css?1272029891> could
save ~17.16KB
7. jquery-ui-1.7.2.custom-accordion.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom-accordion.css?1277972267>
could
save ~2.19KB
8. jquery-ui-1.7.2.custom-tabs.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom-tabs.css?1277972267>
could
save ~2.38KB
9. jquery.js
<http://localhost:54984/javascripts/jquery.js?1272888180> could
save ~78.22KB
10. jquery.query.js
<http://localhost:54984/javascripts/jquery.query.js?1272888180>
could
save ~4.98KB
11. jquery.timers.js
<http://localhost:54984/javascripts/jquery.timers.js?1272888180>
could
save ~2.31KB
12. jquery.ui.custom.js
<http://localhost:54984/javascripts/jquery.ui.custom.js?1272888180>
could
save ~125.12KB
13. jquery.validate.js
<http://localhost:54984/javascripts/jquery.validate.js?1277730056>
could
save ~24.18KB
14. jqbrowser-compressed.js

<http://localhost:54984/javascripts/jqbrowser-compressed.js?1272029891> could
save ~1.77KB
15. jquery.badbrowser.js

<http://localhost:54984/javascripts/jquery.badbrowser.js?1272029891> could
save ~1.44KB
16. jquery.jqModal.js
<http://localhost:54984/javascripts/jquery.jqModal.js?1272888180>
could
save ~2.19KB
17. jquery.ui.core.js
<http://localhost:54984/javascripts/jquery.ui.core.js?1272888180>
could
save ~9.08KB
18. jquery.ui.tabs.js
<http://localhost:54984/javascripts/jquery.ui.tabs.js?1272888180>
could
save ~12.42KB
19. yast.widgets.js
<http://localhost:54984/javascripts/yast.widgets.js?1272888180>
could
save ~1.94KB
20. yast.helpers.js
<http://localhost:54984/javascripts/yast.helpers.js?1272888180>
could
save ~113B
21. browser_fixes.js
<http://localhost:54984/javascripts/browser_fixes.js?1272888180>
could
save ~1.77KB
22. script.js
<http://localhost:54984/javascripts/script.js?1273218390> could
save ~1.66KB
23. users.js <http://localhost:54984/javascripts/users.js> could
save ~3.71KB
24. select_dialog.js
<http://localhost:54984/javascripts/select_dialog.js?1275549424>
could
save ~4.71KB
25. jquery.quicksearch.js

<http://localhost:54984/javascripts/jquery.quicksearch.js?1272029891> could
save ~2.10KB


1. The following resources are missing a cache expiration. Resources
that do not specify an expiration may not be cached by browsers:
1. users.js <http://localhost:54984/javascripts/users.js>
2. bg-head-gradient.png
<http://localhost:54984/stylesheets/images/bg-head-gradient.png>
3. yast-groups.png <http://localhost:54984/icons/yast-groups.png>
4. working.gif <http://localhost:54984/images/working.gif>
5. ui-bg_glass_75_ffffff_1x400.png

<http://localhost:54984/stylesheets/images/ui-bg_glass_75_ffffff_1x400.png>
6. ui-icons_222222_256x240.png

<http://localhost:54984/stylesheets/images/ui-icons_222222_256x240.png>
7. ui-bg_glass_65_ffffff_1x400.png

<http://localhost:54984/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png>
8. ui-icons_454545_256x240.png

<http://localhost:54984/stylesheets/images/ui-icons_454545_256x240.png>
9. ui-bg_glass_75_e6e6e6_1x400.png

<http://localhost:54984/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png>
10. ui-icons_888888_256x240.png

<http://localhost:54984/stylesheets/images/ui-icons_888888_256x240.png>
2. The following resources are explicitly non-cacheable. Consider
making them cacheable if possible:
1. groups <http://localhost:54984/groups>
2. yast.css
<http://localhost:54984/stylesheets/yast.css?1272550209>
3. grid.css
<http://localhost:54984/stylesheets/grid.css?1272029891>
4. style.css
<http://localhost:54984/stylesheets/style.css?1277972267>
5. jquery.jqplot.css
<http://localhost:54984/stylesheets/jquery.jqplot.css?1277799699>
6. jquery-ui-1.7.2.custom.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom.css?1272029891>
7. jquery-ui-1.7.2.custom-accordion.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom-accordion.css?1277972267>
8. jquery-ui-1.7.2.custom-tabs.css

<http://localhost:54984/stylesheets/jquery-ui-1.7.2.custom-tabs.css?1277972267>
9. jquery.js
<http://localhost:54984/javascripts/jquery.js?1272888180>
10. jquery.query.js
<http://localhost:54984/javascripts/jquery.query.js?1272888180>
11. jquery.timers.js
<http://localhost:54984/javascripts/jquery.timers.js?1272888180>
12. jquery.ui.custom.js
<http://localhost:54984/javascripts/jquery.ui.custom.js?1272888180>
13. jquery.validate.js
<http://localhost:54984/javascripts/jquery.validate.js?1277730056>
14. jqbrowser-compressed.js

<http://localhost:54984/javascripts/jqbrowser-compressed.js?1272029891>
15. jquery.badbrowser.js
<http://localhost:54984/javascripts/jquery.badbrowser.js?1272029891>
16. jquery.jqModal.js
<http://localhost:54984/javascripts/jquery.jqModal.js?1272888180>
17. jquery.ui.core.js
<http://localhost:54984/javascripts/jquery.ui.core.js?1272888180>
18. jquery.ui.tabs.js
<http://localhost:54984/javascripts/jquery.ui.tabs.js?1272888180>
19. yast.widgets.js
<http://localhost:54984/javascripts/yast.widgets.js?1272888180>
20. yast.helpers.js
<http://localhost:54984/javascripts/yast.helpers.js?1272888180>
21. browser_fixes.js
<http://localhost:54984/javascripts/browser_fixes.js?1272888180>
22. script.js
<http://localhost:54984/javascripts/script.js?1273218390>
23. application.js
<http://localhost:54984/javascripts/application.js?1263559246>
24. select_dialog.js
<http://localhost:54984/javascripts/select_dialog.js?1275549424>
25. jquery.quicksearch.js

<http://localhost:54984/javascripts/jquery.quicksearch.js?1272029891>
26. webyast-logo.png
<http://localhost:54984/images/webyast-logo.png?1263559246>
27. working.gif
<http://localhost:54984/images/working.gif?1266482366>


Consider adding a "Cache-Control: public" header to the following resources:
bg-head-gradient.png
yast-groups.png
working.gif
ui-bg_glass_75_ffffff_1x400.png
ui-icons_222222_256x240.png
ui-bg_glass_65_ffffff_1x400.png
ui-icons_454545_256x240.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-icons_888888_256x240.png

The following external CSS files were included after an external
JavaScript file in the document head. To ensure CSS files are downloaded
in parallel, always include external CSS before external JavaScript.
1 inline script block was found in the head between an external CSS file
and another resource. To allow parallel downloading, move the inline
script before the external CSS file, or after the next resource.

68% of CSS (estimated) is not used by the current page.
yast.css: 66% (estimated) is not used by the current page.
grid.css: 95% (estimated) is not used by the current page.
style.css: 47% (estimated) is not used by the current page.
jquery.jqplot.css: 100% (estimated) is not used by the current page.
jquery-ui-1.7.2.custom.css: 74% (estimated) is not used by the current page.
jquery-ui-1.7.2.custom-accordion.css: 30% (estimated) is not used by the
current page.
jquery-ui-1.7.2.custom-tabs.css: 100% (estimated) is not used by the
current page.
Inline block #1: 66% (estimated) is not used by the current page.
< Previous Next >
Follow Ups
References