EBS Shortcodes Pro – fucking hell

HabschnedDid some speed tests on the site after updating quite a number of plugins to find the site taking about 16 seconds to load. That wasn’t what i expected to see really, especially as the last speed tests resulted in an average load time of about two-ish to three-ish seconds. 

Next thing to check was the server this blog is hosted on. All checks to no avail. No load issues, no network problems. Resorted to gtmetrix.com to see what was going on while rendering the site and this is what i found.

Right, 11.1 seconds onload time for about a meg of content and 52 requests. Values for total page size and requests are within what i expected to see. It was just the onload time that was “a bit off” the expected result. Now, looking at the waterfall the culprit seemed to be the EBS plugin from Oscitasthemes. Looking at the waterfall display…

Yep, the admin-ajax.php call taking 10.39s was initiated by the EBS Shortcode plugin. Tried to open the Oscitasthemes website just to find it timing out. To cut things short..erm…the plugin i bought a while ago does a license check in the background by contacting Oscitasthemes. Hence their server having a bit of a hard time right now (well, looking at my logs the problems with the Oscitasthemes box must have started yesterday) the plugin times out while trying to verify the license…resulting in incredibly slow loading times with the plugin active. Looking at the code….

Yeah…they indeed use a callback in their script. Under normal circumstances i’d be fine with that (since i bought the plugin) but the callback fails as soon as their server(s) can’t be reached and the time it takes websites using this plugin to load increases beyond what i’d call acceptable. So, what to do now?

For the time being i removed the callback by editing the file containing it. The edits will be reverted as soon as the Oscitasthemes servers are working again and i’ll post about this on their support forum. With the check temporarily removed the onload time for the page is back to where it should be

From 11.1 seconds down to 1.3 seconds…not too bad i’d say. Looking at the waterfall the results are astonishing

So..erm…all that’s left to do now is to occasionally check if the Oscitasthemes servers are working fine, reverting my changes to the script when they do and post over at the Oscitasthemes forums to see if there is another possible workaround or another solution in case their servers go down again and screw up my website..

5 Comments

  1. I have the same problem with this EBS shortcodes Pro plugin making the admin backend very sloooow. It would be great if you would explain in more detail how to disable the callback.
    Thanks in advance.

    • The backend shouldn’t be affected that much really. How’s the load time of your site in general?
      If the oscitasthemes servers are down your frontend will take ages to load because of the callback they added to the script.

  2. Frontend is okay (thanks to caching). The backend is realy slow. It takes abt 5 seconds when i try to switch for example from plugins to pages or other menu options.
    When I disable this shortcode plugin, the backend is performing normal.

  3. Hi Toto, Finaly found the cause for the slow backend. In the EBS Pro Settings under CSS/JS settings the first option was selected (use EBS plugin). After chaning these to the second option (use theme…) or the third option (use CDN…), the backend is normal again.

    • Oh, haven’t changed that setting. Backend works ok for me with the first option ticked. However, if you should at some point experience issues with the frontend becoming slow because of the plugin then you can edit the osc_bootstrap_shortcode.php file. Look for the code in my post and comment it out, except for the line add_action('plugins_loaded', 'ebs_pro_language_support');. This will stop the plugin from phoning home and timing out when their servers are down

Leave a Reply

Your email address will not be published.


I confirm

*