Tagged: JavaScript, optimization
- This topic has 3 replies, 2 voices, and was last updated 8 years, 2 months ago by Theme Horse Support Team.
-
AuthorPosts
-
October 7, 2016 at 10:18 am #47469dbjParticipant
Hi,
Pingdom gave me this list and advice “They should be combined into as few files as possible.”
My site is dbj.org. Using free Attitude since 2009 (wow?) …
Now I am wondering what would be the best approach to takle this issue?Kind regards …
There are 15 JavaScript files served from dbj.org. They should be combined into as few files as possible. http://dbj.org/wp-content/plugins/cookie-law-info/js/cookielawinfo.js?ver=1.5.3 http://dbj.org/wp-content/plugins/jetpack/_inc/facebook-embed.js http://dbj.org/wp-content/plugins/jetpack/_inc/twitter-timeline.js?ver=4.0.0 http://dbj.org/wp-content/plugins/jetpack/modules/photon/photon.js?ver=20130122 http://dbj.org/wp-content/plugins/jetpack/modules/sharedaddy/sharing.js?ver=4.3.1 http://dbj.org/wp-content/plugins/jetpack/modules/wpgroho.js?ver=a847ebcd3093e6f9e2488e75166d6b8c http://dbj.org/wp-content/plugins/search-google/js/search-google.js?ver=1.9 http://dbj.org/wp-content/themes/attitude/libra ... -setting.js?ver=a847ebcd3093e6f9e2488e75166d6b8c http://dbj.org/wp-content/themes/attitude/libra ... acktotop.js?ver=a847ebcd3093e6f9e2488e75166d6b8c http://dbj.org/wp-content/themes/attitude/library/js/jquery.cycle.all.min.js?ver=2.9999.5 http://dbj.org/wp-content/themes/attitude/library/js/tinynav.js?ver=a847ebcd3093e6f9e2488e75166d6b8c http://dbj.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1 http://dbj.org/wp-includes/js/jquery/jquery.js?ver=1.12.4 http://dbj.org/wp-includes/js/wp-embed.min.js?ver=a847ebcd3093e6f9e2488e75166d6b8c http://dbj.org/wp-includes/js/wp-emoji-release.min.js?ver=a847ebcd3093e6f9e2488e75166d6b8c There are 7 JavaScript files served from apis.google.com. They should be combined into as few files as possible. https://apis.google.com/_/scs/apps-static/_/js/ ... TcCPA2m_OHvrFrgSeKDFmYCH8sEP4kA/cb=gapi.loaded_1 https://apis.google.com/_/scs/apps-static/_/js/ ... TcCPA2m_OHvrFrgSeKDFmYCH8sEP4kA/cb=gapi.loaded_0 https://apis.google.com/_/scs/apps-static/_/js/ ... TcCPA2m_OHvrFrgSeKDFmYCH8sEP4kA/cb=gapi.loaded_0 https://apis.google.com/_/scs/apps-static/_/js/ ... TcCPA2m_OHvrFrgSeKDFmYCH8sEP4kA/cb=gapi.loaded_0 https://apis.google.com/_/scs/apps-static/_/js/ ... TcCMnrfyyejDqRnvebq2D3XdF6ELfkg/cb=gapi.loaded_1 https://apis.google.com/js/plusone.js https://apis.google.com/js/rpc:shindig_random.js?onload=init There are 7 JavaScript files served from static.xx.fbcdn.net. They should be combined into as few files as possible. https://static.xx.fbcdn.net/rsrc.php/v3/yL/r/JMsJo5aHwKC.js https://static.xx.fbcdn.net/rsrc.php/v3/yg/r/u9P3lGF4vib.js https://static.xx.fbcdn.net/rsrc.php/v3i0mo4/yD/l/en_GB/D5v9ATyAELP.js https://static.xx.fbcdn.net/rsrc.php/v3iOwh4/yl/l/en_GB/69D9_m2lm4w.js https://static.xx.fbcdn.net/rsrc.php/v3iWxT4/y3/l/en_GB/JSyFPctoAxw.js https://static.xx.fbcdn.net/rsrc.php/v3if3Y4/yq/l/en_GB/LrXarCAdc62.js https://static.xx.fbcdn.net/rsrc.php/v3irrq4/yj/l/en_GB/wtes4wz0LFb.js There are 5 JavaScript files served from buttons.reddit.com. They should be combined into as few files as possible. https://buttons.reddit.com/button_info.json?jso ... amming-language-running-locally-on-windows-10%2F https://buttons.reddit.com/button_info.json?jso ... ve-rules-for-managing-intergenerational-teams%2F https://buttons.reddit.com/button_info.json?jso ... 016%2Fnew-office-decides-the-faith-of-xamarin%2F https://buttons.reddit.com/button_info.json?jso ... 2F2016%2Fshare-point-2016-the-migration-costs%2F https://buttons.reddit.com/button_info.json?jso ... g%2Fblog%2F2016%2Fwindows-10-the-story-so-far%2F There are 5 JavaScript files served from www.linkedin.com. They should be combined into as few files as possible. https://www.linkedin.com/countserv/count/share? ... uage-running-locally-on-windows-10%2F&lang=en_US https://www.linkedin.com/countserv/count/share? ... r-managing-intergenerational-teams%2F&lang=en_US https://www.linkedin.com/countserv/count/share? ... ffice-decides-the-faith-of-xamarin%2F&lang=en_US https://www.linkedin.com/countserv/count/share? ... are-point-2016-the-migration-costs%2F&lang=en_US https://www.linkedin.com/countserv/count/share? ... 2016%2Fwindows-10-the-story-so-far%2F&lang=en_US There are 3 JavaScript files served from platform.twitter.com. They should be combined into as few files as possible. http://platform.twitter.com/widgets.js https://platform.twitter.com/js/button.c9025956238e7d486d74379e14f50282.js https://platform.twitter.com/js/timeline.0e3df5929a60596ace3c16fb0b38e6f9.js There are 2 JavaScript files served from connect.facebook.net. They should be combined into as few files as possible. http://connect.facebook.net/en_GB/sdk.js?_=1475833253617 https://connect.facebook.net/en_GB/sdk.js There are 2 JavaScript files served from platform.linkedin.com. They should be combined into as few files as possible. https://platform.linkedin.com/in.js?async=true&_=1475833253618 https://platform.linkedin.com/js/secureAnonymousFramework?v=0.0.2000-RC8.58572-1429&
October 9, 2016 at 12:20 pm #47504Theme Horse Support TeamKeymasterHi Dbj,
For this you have to use cache plugin.
You can easily Google free + premium cache plugin and activate that into your site.
Which will help you to zip all those JavaScripts.Thank you!
October 9, 2016 at 5:00 pm #47506dbjParticipantHey guys 🙂
Well dear people, I have happened to stumble upon the “Cache” concept. So we do use WordFence Falcon Engine as a cache.
And a tiny reminder if I may? gzip-ing JavaScript files is not at stake here it is JavaScript files combining. Menaing there are numerous same files and numerous tiny but different files being loaded and each and every one of them little rascals requires one HTTP round trip ….
Saying all of that on the level of the server, we have been expertly fidling with that Appache thing and everything is gzipped as much as it can be for http being served …
Solving this problem will require a theme rewrite and we surely do not want to go there, do we?
(no wonder it took them “goog people” approx 2 years to develop Twenty Sixteen to avoid this issue in concert with WP)AS it stands right now pingdom five us score 73 which is not that bad … so let’s put this one under the prverbial “carpet” shall we?
October 17, 2016 at 11:55 am #47643Theme Horse Support TeamKeymasterHi Dbj,
Apologies for the late reply.
Different cache plugin have different features for more features and cache you have to purchase a premium cache plugin and we recommended you to use WP Rocket premium plugin where you can cache not only JavaScripts but also cache more files. You can see the list of features here
Thank you!
-
AuthorPosts
- You must be logged in to reply to this topic.