VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: Trimud on December 10, 2019, 23:32:45 PM

Title: Very large Time To First Byte (TTFB)
Post by: Trimud on December 10, 2019, 23:32:45 PM
Hello,

since less than a week a site that was running perfectly and loaded for less than 2 seconds per page started to load for about 10 seconds.
TTFB now is ~10 seconds which is just crazy.

Site is running on:
Joomla 3.9.13
Virtuemart 3.6.10
PHP Version 7.2.19

Site is https://growshop-bg.com/en/

I have tried with different template, tried to disable caching, system plugins etc, all to no avail.

Any recommendations are highly welcomed.

Thanks in advance!
Title: Re: Very large Time To First Byte (TTFB)
Post by: Jörgen on December 10, 2019, 23:48:11 PM
You seem to have many large images, this cost uploading time, 408kb,341kb,322kb,311kb,310kb,266kb,244kb,166kb,155kb,88kb = 3240kb ...

Other issues as well

Jörgen
Title: Re: Very large Time To First Byte (TTFB)
Post by: Trimud on December 11, 2019, 07:02:59 AM
Hi Jörgen,

But they are not the reason for high TTFB. Site score is 90 in Pagespeed insights.

The carousel is not present on category page so it just loads VM images https://growshop-bg.com/en/growbox-homebox

Thanks
Title: Re: Very large Time To First Byte (TTFB)
Post by: Jörgen on December 11, 2019, 07:47:54 AM
The remark is from page Speed insights index 48.

You do not say what have you done to make it so slow?

Jörgen
Title: Re: Very large Time To First Byte (TTFB)
Post by: GJC Web Design on December 11, 2019, 08:40:41 AM
It is just the very first load that is very slow (+10sec) though <  2sec on any refresh or return, so there is some caching somewhere.
Clearing the browser cache makes very little difference  ..  reloads are fast

This is apparent on all VM pages with no difference between cat and detail pages which is strange .. normally if any page would be excessively slow it would be cat pages

Straight Joomla pages ( faqs, links etc ) load without delay so definitely appears to be a VM problem

Do you know what sort of server caching is being used ( if any) ?

Have you asked your host for advice?
Title: Re: Very large Time To First Byte (TTFB)
Post by: Jörgen on December 11, 2019, 08:54:46 AM
I can see some optimizer plugin:
<script type="application/javascript" src="/media/plg_jchoptimize/cache/js/31e1de35312110a4b8b98e21747054e9_0.js"></script> (http://<script%20type="application/javascript"%20src="/media/plg_jchoptimize/cache/js/31e1de35312110a4b8b98e21747054e9_0.js"></script>)

Jörgen