x

How to improve my page's speed and names of the links of uploaded photos/images?

Dear Sir/Madam,

I have two questions:

QUESTION #1:
I've been trying to optimize my page in Google Search also with Google Search Console. After checking my page's speed in Google's PageSpeed Insight I've noticed that some of the code should be fixed:

Should fix:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 4 blocking script resources and 6 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:
https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
http://cdn2.editmysite.com/js/lang/en/stl.js?buildTime=1479938030&
http://cdn2.editmysite.com/js/site/main.js?buildTime=1479938030
http://cdn2.editmysite.com/js/lang/en/stl.js?buildTime=1479938030&
Optimize CSS Delivery of the following:
http://cdn2.editmysite.com/css/sites.css?buildTime=1479938030
http://cdn2.editmysite.com/css/old/fancybox.css?1479938030
http://cdn2.editmysite.com/…ss/social-icons.css?buildtime=1479938030
http://www.urkofishingadventures.com/files/main_style.css?1480300663
http://fonts.googleapis.com/…0italic,700italic&subset=latin,latin-ext
http://fonts.googleapis.com/…ontserrat:400,700&subset=latin,latin-ext

Google's PageSpeed Insight says, that fixing this would have a measurable impact on page performance. Is there any chance that I fix this? I would like to have good working/fast loading page (better form my competition) without additional "cargo".

QUESTION #2:
I've been checking names of links of photos/images, that I've uploaded on Weebly service. Before uploading I've named all photos (e.g. car.jpg) for better search optimization in Google Search/Images, but after uploading names of the photos completely changed (e.g. 3948532.jpg) and now don't have any significant name. Is there any chance that I fix name of the image in the link? Again, I would like to have good working/fast loading page (better form my competition) without additional "cargo".

Thanks for any helpful answers.

Best regards, Uros.

9,275 Views
Message 1 of 24
Report
23 REPLIES 23

I’ve come up with a solution of sorts to add async or defer attributes to script source tags, at least for those of you with smaller sites. First, bring a page of your site in your browser and open developer tools to inspect the document’s elements. On a piece of paper, write the numbers 0 – 40 ish in a column(s).  Looking at the document through the inspector, begin in the head and carefully count the total number of script tags all the way to the closing html tag. Start your count with the number zero, as you are counting indexes for Javascript. As you do so, make a note on your list as to whether each script tag already has an async attribute (A), doesn’t require one (--), or needs one (N). I would recommend not to include the jQuery CDN for async, and certainly not for defer, as it will likely break site functionality.

Once you’ve made your list, add the index numbers of those script tags requiring an attribute to the Javascript below.

<script>

function addAsync(){

var getscript1 = document.getElementsByTagName('script')[0];
var getscript2 = document.getElementsByTagName('script')[8];
var getscript3 = document.getElementsByTagName('script')[44];
….etc.       

            getscript1.setAttribute('async','async');
            getscript2.setAttribute('async','async');
            getscript3.setAttribute('async','async');
…etc.
}

addAsync();

</script>

Place this file in the footer input of each page's editor. This script must be at the end of the document, as it only accesses the script tags that come before it. This can be used to add ‘defer’ in the same way.

Unfortunately, you will probably have to do this for each page, as content will differ.

559 Views
Message 22 of 24
Report

I optimized my Weebly website for speed, getting 99 / 93 best results on Google PageSpeed Insights.
Check out my comment here for more info. 

320 Views
Message 23 of 24
Report

Agree - Zig Boom is the way to go! Found him on this page, and he optimised my site with fabulous results.  Very knowledgable, easy to work with, checked before making any changes, fantastic results. Highly recommend Zig!

75 Views
Message 23 of 24
Report