Hi,
I am running the vantage premium theme. And GTMetrix (and several others) reccomend removing query strings. Now i have tried several plugins, and all of the versions where you manually input a bit of code into the themes functions.php to get it to remove theese query strings.
But so far, none has worked. This is probably the biggest one remaining for me. Im at 38% here. :
Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources: http://vestgass.no/wordpress/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.1 http://vestgass.no/wordpress/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.7.min.css?ver=1.5.7 http://vestgass.no/wordpress/wp-content/plugins/easy-table/themes/default/style.css?ver=1.5.2 http://vestgass.no/wordpress/wp-content/plugins/ml-slider/assets/metaslider/public.css?ver=3.3 http://vestgass.no/wordpress/wp-content/plugins/ml-slider/assets/sliders/flexslider/flexslider.css?ver=3.3 http://vestgass.no/wordpress/wp-content/plugins/siteorigin-panels/css/front.css?ver=2.0.7 http://vestgass.no/wordpress/wp-content/plugins/woocommerce-product-archive-customiser/assets/css/layout.css?ver=4.1.1 http://vestgass.no/wordpress/wp-content/plugins/woocommerce-product-archive-customiser/assets/css/pac.css?ver=4.1.1 http://vestgass.no/wordpress/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=2.3.5 http://vestgass.no/wordpress/wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css?ver=2.3.5 http://vestgass.no/wordpress/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=2.3.5 http://vestgass.no/wordpress/wp-content/themes/vantage/fontawesome/css/font-awesome.css?ver=4.2.0 http://vestgass.no/wordpress/wp-content/themes/vantage/icons/vantage-icons.woff?-9o183q http://vestgass.no/wordpress/wp-content/themes/vantage/premium/extras/mobilenav/css/mobilenav.css?ver=2.3 http://vestgass.no/wordpress/wp-content/themes/vantage/premium/style.css?ver=2.3 http://vestgass.no/wordpress/wp-content/themes/vantage/style.css?ver=2.3
So far that is the list, and it seems like its mostly plugins, but a few for the actual theme aswell.
So my question here is, how on earth do i get rid of them? And is it even usefull to do?
Second question, GTMetrix also reccomends that i Inline small CSS. Im at 80% here.
http://vestgass.no/wordpress/wp-content/plugins/siteorigin-panels/css/front.css?ver=2.0.7 http://vestgass.no/wordpress/wp-content/plugins/woocommerce-product-archive-customiser/assets/css/layout.css?ver=4.1.1 http://vestgass.no/wordpress/wp-content/plugins/woocommerce-product-archive-customiser/assets/css/pac.css?ver=4.1.1
Thirdly it reccomends to defer parsing of javascripts. I really dont know much about java. But its at 82% here.
http://vestgass.no/wordpress/wp-includes/js/jquery/jquery.js?ver=1.11.1 (85.7KiB) http://vestgass.no/wordpress/wp-content/themes/vantage/js/jquery.flexslider.js?ver=2.1 (27.7KiB) http://vestgass.no/wordpress/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 (5.5KiB) http://vestgass.no/wordpress/wp-content/themes/vantage/js/jquery.theme-main.min.js?ver=2.3 (3.5KiB) http://vestgass.no/ (3.2KiB of inline JavaScript) http://vestgass.no/wordpress/wp-content/plugins/wp-images-lazy-loading/js/jquery.lazyload.min.js?ver=1.9.3 (2.8KiB) http://vestgass.no/wordpress/wp-content/themes/vantage/premium/extras/mobilenav/js/mobilenav.min.js?ver=2.3 (2.2KiB) http://vestgass.no/wordpress/wp-content/themes/vantage/js/jquery.fitvids.min.js?ver=1.0 (1.4KiB)
Lastly, its minify javascript. I have also tried a Minify plugin for this. But that didnt do much.
Im at 88% here.
Minifying http://vestgass.no/wordpress/wp-content/themes/vantage/js/jquery.flexslider.js?ver=2.1 could save 4.4KiB (39% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/ml-slider/assets/sliders/flexslider/jquery.flexslider-min.js?ver=3.3 could save 4.3KiB (38% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.1 could save 288B (10% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.60 could save 242B (7% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/easy-fancybox/jquery.easing.pack.js?ver=1.3 could save 215B (22% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.51.0-2014.06.20 could save 202B (4% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/easy-fancybox/jquery.mousewheel.min.js?ver=3.1.12 could save 112B (9% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/woocommerce/assets/js/jquery-cookie/jquery.cookie.min.js?ver=1.4.1 could save 105B (14% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1 could save 79B (3% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-includes/js/jquery/jquery.js?ver=1.11.1 could save 64B (1% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/wp-images-lazy-loading/js/jquery.lazyload.min.js?ver=1.9.3 could save 62B (5% reduction) after compression. See optimized version Minifying http://vestgass.no/wordpress/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.7.min.js?ver=1.5.7 could save 1B (1% reduction) after compression. See optimized version
Many questions here, but i do hope someone finds the time to help me out. Would be much appreciated for a newbie trying to learn :)
URL: http://vestgass.no
Hi Kimzer
This problem sounds like it might be a caching issue. It’s possible that the version of your HTML that uses query strings is being cached, so the plugins that remove them can’t take effect. So I’d say install a plugin like this one, then try sorting out caching – https://wordpress.org/plugins/remove-query-strings-from-static-resources/
The first thing to check is server-side caching through plugins like W3 Total Cache, WP Super Cache, etc. If you have any of these caching/performance plugins installed, try clearing their cache and see if that helps.
It might also be browser cache. Try clearing your browser cache, and then refreshing the page to see if that helps.
You can read more about this sort of issue on the WordPress codex – http://codex.wordpress.org/I_Make_Changes_and_Nothing_Happens
Righton! That worked perfectly.
Now i just have to small things i want to fix before im happy with my site speed.
Inline small css (now at 75%)
The following external resources have small response bodies. Inlining the response in HTML can reduce blocking of page rendering.
http://vestgass.no/ should inline the following small resources:
http://vestgass.no/wordpress/wp-content/cache/autoptimize/css/autoptimize_0a35f9b4c40d5625e1f5a713ab93c844.css
And Make fewer http requests (Doesnt inform me of much all it says is below)
This page has 4 external stylesheets. Try combining them into one.
Do you have any input on theese?