• Resolved Lollipops

    (@emcthemes)


    Hey guys, I’m loving the plugin it’s just what we need for our client’s sites

    our client’s website (homepage) usually loads in around 1.0s
    upon adding your plugin the website’s home page how loads in at anywhere from 4+s up to 28s.

    There is currently one call being made to admin-ajax.php from the front page.

    This page shouldn’t be loading any content from your plugin, as it’s just a landing page and not a part of the WooCommerce shop.

    Note: My client’s website is Adult Natured in Content.
    Note: The plugin is currently disabled on the site listed below.

    Live Site:
    https://www.spanking.co.uk

    Metrix Report – Plugin Active
    https://gtmetrix.com/reports/www.spanking.co.uk/GGERAk24

    Metrix Report – Plugin Disabled
    https://gtmetrix.com/reports/www.spanking.co.uk/IQlBdRIP

    For each result please review the Waterfall section and scroll to the bottom

    On the first report, you’ll see a call to “admin-ajax.php”
    The first with a GET query for “tinvwl_css&ver=1.3.4” and a response time of 18.63s.

    Additionally, you can also see there is a WooCommerce call to “wc-ajax.php” (8s) to respond, this seems to be higher than the normal 1/2s response time that we normally see, so could be related to having your plugin enabled.

    As you can see from the rest of the waterfall, this is where the majority of the website load time is being lost.

    In the second report you’ll see that the “tinvwl_css&ver=1.3.4” call does not appear, and the “wp-ajax.php” call is significantly quicker (1.02s), thus the website loads much more quickly.

    The Metrix reports above are analysing the homepage of each site, the plugin is not actually being used or displayed on the front page what so ever, only on the product pages, Should the plugin actually be sending requests from the front page at all?

    I am able to provide you with login credentials for the website if you require, so that you may reactivate the plugin to further test/analyse the problem, however, I would need a more secure form of communicating such details to you e.g. privately via email.

    Any help with this issue would greatly be appreciated, as we would love to have your plugin as part of our client’s websites if this issue can be resolved.

    Wordpress Version: 4.7.5
    WooCommerce Version: 3.0.7 (Just updated this morning to 3.0.8)
    WooCommerce Wishlist Version: 1.3.4

    Many Kind regards

    Lee Wickham
    EMC Themes.

    • This topic was modified 7 years, 5 months ago by Lollipops.
    • This topic was modified 7 years, 5 months ago by Lollipops. Reason: updated details, made post easier to read
    • This topic was modified 7 years, 5 months ago by Lollipops. Reason: Updated Information
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi Lee,

    I see your issue and it’s related to the ‘Template Custom CSS’ option under a wp-admin/admin.php?page=tinvwl-style-settings page settings.

    If you don’t use this option you need to disable it and save settings to remove extra wp-ajax query.

    If you are using some custom CSS rules with this option I suggest you move all rules to your child theme CSS file and disable this option.

    This issue is more related to optimization of your setup than a bug. The wp-ajax calls load whole WordPress core and plugins and you can’t cache it. In nowadays every WordPress live site has a lot of active plugins and heavily relies on a frontend cache. So the optimization goal is make everything that possible under a cache for guests.

    You can message us on the live chat if you need further assistance:
    https://templateinvaders.com/help/

    P.S. we are working on feature updates and version 1.5 will bring a lot of optimizations for frontend queries also.

    Kind regards,
    Konstantin.

    Thread Starter Lollipops

    (@emcthemes)

    Hi Konstantin, thanks for the fast reply, this appears to have cleared up the issue, ill be keeping an eye on the page speeds over the next few day’s.

    Awesome to hear about the further optimizations your planning to make, cant wait to see how that will improve upon your already fantastic product!

    many kind regards

    Lee Wickham
    EMC Themes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘18s+ website load time due to admin-ajax.php calls.’ is closed to new replies.