If this is your first visit, check our documentation. To post, register or login.
Forums / Search Engines / Help with Page Speed Optimitazions please

Help with Page Speed Optimitazions please

Started by shags38 on 28 Sep 2017, 2:08 AM · Views: 72

Results 1 to 4 of 4
28 Sep 2017, 2:08 AM
#1
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Help with Page Speed Optimitazions please

I am getting POOR ratings from Page Speed tests via Google Webmaster Tools so I need some advice on how best to improve my rating(s) across my sites.

Poor 63 / 100 (Desktop - Mobile is worse) This page is not optimized and is likely to deliver a slow user experience. Please prioritize and apply the recommendations below. Given that Google's focus these days is on 'optimizing customer experience' it concerns me when when I see comments like that :(

1. Properly formatting and compressing images can save many bytes of data. (This is the critical aspect - over 400kb to be saved by compression)

Images shown for optimization are those slides used in the slide show and those used in the template (all my sites are using Responsive All Business by Picaflor Azul) - so these images are not being handled by IH4 - Q can they be included to be handled by IH? ... if not is there a image compression tool I can add to ZC that will compress the images not compressed by IH?

2. Your page has 11 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.

All of these resources are .css files from the above template (RAB) = I have ModPagespeed enable with the following instruction in the .htaccess file;
ModPagespeed on
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters combine_css

Q What else can be done to solve this issue?

3. 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.

I have the following included in the .htaccess file however the files listed to 'Leverage browser caching' for are again .css files related to the template which I thought would be handled by the .htaccess instruction;

## Optional improvements
## Requires mod_expires to be enabled within Apache
##################
<ifmodule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A300
  ExpiresByType application/x-javascript A3600
  ExpiresByType text/css A3600
  ExpiresByType image/gif A604800
  ExpiresByType video/x-flv A604800
  ExpiresByType application/pdf A604800
  ExpiresByType text/html A300
  ExpiresByType image/x-icon A86400
  ExpiresByType image/jpeg A2592000
  ExpiresByType image/png A2592000
</ifmodule>

4. Minify HTML
Compacting HTML code, including any inline JavaScript and CSS contained in it, can save many bytes of data and speed up download and parse times.
Minify HTML for the following resources to reduce their size by 2.1KiB (15% reduction).

Minifying <https://www.treeoflifejewellery.com/> could save 2.1KiB (15% reduction) after compression.

5. Minify CSS
Compacting CSS code can save many bytes of data and speed up download and parse times.
Minify CSS for the following resources to reduce their size by 520B (59% reduction).

Minifying https://www.treeoflifejewellery.com/…_business/css/stylesheet_middleboxes.css could save 520B (59% reduction) after compression

Recommendations

You should minify your HTML, CSS, and JavaScript resources:

To minify HTML, try HTMLMinifier
To minify CSS, try CSSNano and csso.
To minify JavaScript, try UglifyJS. The Closure Compiler is also very effective. You can create a build process that uses these tools to minify and rename the development files and save them to a production directory.

Alternatively, the PageSpeed Module, integrates with with an Apache or Nginx web server to automatically optimize your site, including resource minification.

The last para suggests that Page Speed module should be doing this minifying as part of the overall optimization ? - confusing :dontgetit

**** for this same site I get a performance score of 88 using pingdom dotcom with an SEO score of 82 using seositechecker dotcom - not that I put absolute faith in either or any of such assessment sites however they vary greatly from Page Speed ... like it is with many other Google testing/reporting tools they tend to use old data - is that the case with Page Speed or is it analyzing the site as it sees it in that instant?

Any suggestions most warmly received.

cheers,
Mike

28 Sep 2017, 6:12 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Help with Page Speed Optimitazions please

I always recommend starting with the basic code. Your main page shows 9 errors using inspect. A couple of those are 406

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

28 Sep 2017, 9:28 PM
#3
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Help with Page Speed Optimitazions please

dbltoe:

I always recommend starting with the basic code. Your main page shows 9 errors using inspect. A couple of those are 406

Thanks for the response dbltoe - what 'basic code' are you referring to?

cheers,
Mike

28 Sep 2017, 11:16 PM
#4
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Help with Page Speed Optimitazions please

shags38:

Thanks for the response dbltoe - what 'basic code' are you referring to?

cheers,
Mike

@ dbltoe .... I must learn not answer emails or respond to posts early in the morning until after at least 3 cups of coffee so that my brain kicks in :smile: - I'm not a professional developer so your comment didn't 'click' until I did a Google search for 'inspect' ... the penny has now dropped. So now I have to learn how to use the 'inspect element' and then attempt to modify or update the deprecated code(s)

cheers,
Mike

p.s. one of the recommendations from Page Speed test was to remove ```

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>