Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Speed suggestion – Combine all the javascript files in the plugin

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Speed suggestion – Combine all the javascript files in the plugin

Tagged: standalone

  • This topic has 2 replies, 2 voices, and was last updated 12 years ago by midnightdonkey.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 22, 2011 at 8:17 pm #3014
    midnightdonkey
    Member

    Love the plugins – been using them for a while now with no problems.

    I do have a suggestion though – there’s a lot of javascript files (http requests) being called when I have the plugins installed, which is giving me a low YSlow rating, and also slowing down my website a little. For a future version, would it be possible to have all javascript inside one file? Right now there’s multiple files, as well as some javascript being inserted directly into wp_head. It would be much cleaner and more efficient if everything was just called from one file I think =)

    Something to think about, thanks a lot for the great plugins!

    March 23, 2011 at 1:19 am #30528
    amin007
    Participant

    Yes combining all the Javascript files in one file is a good way to go but we actually don’t include all the javascript files for every installation. If you are using a certain feature of the product that requires a javascript library the product then includes that library (it includes the libraries on demand based on what you are using). This approach has a lot of advantages.

    Now, there is a really easy way to accomplish what you are after. Use the W3 Total Cache plugin:

    https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin

    You simply view the source code of your site and find out which javascript files you want to compile into one file and you can specify W3 Total Cache to compile them in one file and serve it to the browser. All taken care of in one go! This way you don’t have to chase up individual plugin or theme developers to compile the Javasript files in one file. In W3 Total Cache you can also specify if the javascript files should be sent to the footer instead of the header.

    March 23, 2011 at 11:35 pm #30529
    midnightdonkey
    Member

    Awesome – never thought to look into what those features did in W3 Total Cache – thanks a lot man!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ