Centova Technologies Forum
Centova Cast v3 => Feature requests => Topic started by: Dr Bunsen on January 17, 2014, 01:36:11 am
-
Please consider addressing the following issues which Google highlights when you run their tool over the control panel...
http://developers.google.com/speed/pagespeed/insights/
https://developers.google.com/speed/pagespeed/module
Thanks.
---
Suggestions Summary
Should Fix:
Enable compression
Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
Enable compression for the following resources to reduce their transfer size by 109.6KiB (67% reduction).
Compressing /system/res.common.js?b=20131107.276 could save 104.1KiB (67% reduction).
Compressing /theme/res.common.css?b=20131107.276 could save 4.8KiB (74% reduction).
Compressing /theme/login.css could save 672B (55% reduction).
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 2 blocking script resources and 3 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
/system/res.common.js?b=20131107.276
/…query.centova.password.js?b=20131107.276
Optimize CSS Delivery of the following:
/theme/login.css
/theme/res.common.css?b=20131107.276
/…uery.centova.password.css?b=20131107.276
Consider Fixing:
Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:
/system/images/icons/password.png (24 hours)
/system/images/white.png (24 hours)
/…uery.centova.password.css?b=20131107.276 (24 hours)
/…query.centova.password.js?b=20131107.276 (24 hours)
/system/res.common.js?b=20131107.276 (24 hours)
/theme/images/iconpane-sep.png (24 hours)
/theme/images/login-bg.png (24 hours)
/theme/images/login-logo.png (24 hours)
/theme/images/tooltips/tipbgsprites.png (24 hours)
/…me/images/tooltips/tipcalloutsprites.png (24 hours)
/…theme/images/tooltips/tipiconsprites.png (24 hours)
/theme/images/tooltips/tipsprites.png (24 hours)
/theme/login.css (24 hours)
/theme/res.common.css?b=20131107.276 (24 hours)
Reduce server response time
Optimize images
Properly formatting and compressing images can save many bytes of data.
Optimize the following images to reduce their size by 2.7KiB (19% reduction).
Losslessly compressing /theme/images/login-bg.png could save 1.7KiB (32% reduction).
Losslessly compressing /theme/images/login-logo.png could save 1,023B (11% reduction).
Minify JavaScript
Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time.
Minify JavaScript for the following resources to reduce their size by 1.7KiB (2% reduction).
Minifying /system/res.common.js?b=20131107.276 could save 1.7KiB (2% reduction).
-
Compressing /system/res.common.js?b=20131107.276 could save 104.1KiB (67% reduction).
Compressing /theme/res.common.css?b=20131107.276 could save 4.8KiB (74% reduction).
Compressing /theme/login.css could save 672B (55% reduction).
Odd, nginx is indeed configured to serve gzipped copies of these, not sure why it isn't. Will have to investigate.
Your page has 2 blocking script resources and 3 blocking CSS resources. This causes a delay in rendering your page.
Not really much to be done about this. Centova Cast is a JavaScript-based web application, not a web site (for which Google's tools are intended), so this is to be expected.
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
The expiration times for the resources listed are intentional and working as designed.
Properly formatting and compressing images can save many bytes of data.
Optimize the following images to reduce their size by 2.7KiB (19% reduction).
This is simply bad advice. You can't losslessly compress a PNG24 image; you'll lose alpha transparency.
Minifying /system/res.common.js?b=20131107.276 could save 1.7KiB (2% reduction).
This is already minified, as you can tell if you simply look at it. Google's tool is misidentifying it, probably because we've retained the copyright messages in comments.
-
Thanks Steve.