Open gau1991 opened 9 years ago
What does the original html for your script includes look like?
Original content are as follows:
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.core.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.widget.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.slider.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.position.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.menu.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-includes/js/jquery/ui/jquery.ui.autocomplete.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jquery.cycle2.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jquery.cycle2.carousel.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jquery.cycle2.center.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jquery.ui.touch-punch.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/rtp-listhub-tracking.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jqvmap/jquery.vmap.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jqvmap/jquery.vmap.world.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/jquery.tinyscrollbar.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/rtp-sign-up.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/themes/example-2014/js/rtp-custom-scripts.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/plugins/gravityforms/js/jquery.json-1.3.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/plugins/gravityforms/js/jquery.placeholders.2.1.1.min.js'></script>
<script type='text/javascript' src='http://example.com/wp-content/plugins/gravityforms/js/gravityforms.js'></script>
The original html looks completely reasonable.
It looks like the js is getting put in the html twice: once as the output of combining and once as a single file.
Do you have any other pagespeed settings in your config?
Can you share a link to your site?
When I open site in Firefox/Chrome I am able to see each Js file is loaded twice in browser.
In this I am able to see that, each JS is loaded twice in code. Following filters enabled on my pagespeed configuration: