jquery issue

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Marine Divers
 
 
Posts: 31
Joined: Fri Jan 03, 2014 7:52 am

jquery issue

Post by Marine Divers » Mon Mar 05, 2018 12:21 pm

Just been on google page speed insights and this was the only issue on rener blocking:

Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 1 blocking script 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://divingincyprus.net/mobile/jquery-1.7.2.min.js

I just need some simple terms of where to find it and how to stop it. My site is not responsive but has a skip through to a mobile version when a phone is detected.

Also i have lots of these that need sorting:
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:
https://divingincyprus.net/mobile/images/Blog-Small.png (expiration not specified) here is one example i have about 20

Any help would be great.

Jonny

User avatar
Pablo
 
Posts: 16858
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: jquery issue

Post by Pablo » Mon Mar 05, 2018 12:49 pm

You can move JavaScripts to the end of the page with 'Move JavaScript to the end of the page' in Tools->Options->HTML
Be careful however, because this may affect the behavior of third party scripts or extensions.
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.
This is unrelated the software. This is a server configuration issue.

User avatar
BaconFries
 
 
Posts: 4124
Joined: Thu Aug 16, 2007 7:32 pm

Re: jquery issue

Post by BaconFries » Mon Mar 05, 2018 1:56 pm

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.
As mentioned this is server related. If you are familiar with using any of the following .htaccess or mod headers then you can write specific settings in both for the likes of expiry dates or maximum age. You can also try a simple meta tag such as the following what this is saying is to expire the contents in 30 days time

Code: Select all

<meta http-equiv="Expires" content="30"> 

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests