Tagged: x
-
AuthorPosts
-
July 13, 2016 at 9:46 am #1084950
MoonworksParticipantI’ve been working on getting the page speed down and I have just one problem that I can’t seem to fix, and thought you may have some ideas.
As you can see from these results, I’ve got the page load down, but my problem is removing query strings from static resources. I’ve tried plugins and code, but it doesn’t seem to budge.
July 13, 2016 at 10:05 am #1084983
MoonworksParticipantWell, I seem to have sorted that, using:
/** Remove Query strings from Static Resources. */ function _remove_script_version( $src ){ $parts = explode( '?', $src ); return $parts[0]; } add_filter( 'script_loader_src', '_remove_script_version', 15, 1 ); add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );But now it is Leverage browser caching which is causing the problem :/
July 13, 2016 at 11:21 am #1085139
RupokMemberHi there,
Glad that you sorted it out. Is there anything we could help except the browser caching?
Thanks
July 13, 2016 at 11:34 am #1085174
MoonworksParticipantNo, it looks like that’s the only thing now 🙂
Thanks
July 13, 2016 at 12:56 pm #1085333
JoaoModeratorThanks
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1084950 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
