Tagged: x
-
AuthorPosts
-
March 12, 2017 at 12:09 pm #1403898
CooperReckParticipantHey there,
While running my site: emersondolbytaxidermy.com through gtmetrix, it said that I needed to defer JavaScript. however, any attempt to minify the JS results in my site being broken in some way. any fixes for this?
And my embedded google map is sending out crazy amounts of http requests that give me a page load time of 10s, any ideas there either?
Thanks
March 12, 2017 at 1:53 pm #1403944
RupokMemberHi there,
X already serves the minified version if scripts and stylesheets and minifying them will break the script.
Thanks!
March 12, 2017 at 2:45 pm #1403969
CooperReckParticipantEvery performance testing site is telling me to minify or combine stylesheets and JS, and my site is still loading at about 10 seconds when any plugin that would minify files is turned off.
March 12, 2017 at 2:48 pm #1403970
CooperReckParticipantImages of the reports
March 12, 2017 at 10:05 pm #1404306
RadModeratorHi there,
What optimization plugin you’re currently utilizing? They should able to optimize them and defer javascript. Try using Autoptimize plugin.
The problem with minification is the order of javascript, it should be minified based on its loading order, else, it will not really work. Example, script dependent to jQuery is first minified and loaded than jQuery then that’s not going to work. It’s best to contact the author of optimization plugin for proper guidance.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1403898 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
