Badd TTFB, how to improve ? Topic is solved

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Wed Aug 26, 2020 11:19 am

hi GWS, thank to have took a look, its because we use cache and cdn, but if you deep surf on the website going link to another link you will notice time wait up 12 sec or more, i have ordered another test server in swiss to deploy the akeeba backup and have a test run, the webpagespeed test is clear, 18 sec TTFB randomly, but without jquery and extrawatch that patch 30% of the faced issue.

But I have re-enabled the slide show in homepage, voting and social media on article page, and we still face the issue....

https://www.webpagetest.org/result/2008 ... 318328a7e/

Dont know if that software/Joomla related or hardware issue @ the host,

I think we will be fixed in 1 or 2 day.

Currently downloading backup,
You do not have the required permissions to view the files attached to this post.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

gws
Joomla! Champion
Joomla! Champion
Posts: 5947
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Badd TTFB, how to improve ?

Post by gws » Wed Aug 26, 2020 1:00 pm

I think if it was joomla related other users would have reported issues.... You stated "Hi guys, i just migrated of clouds as i was wondering a hardware issue," I think this is most likely.

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Wed Aug 26, 2020 2:44 pm

hi gws, sadly i dont think there is a lot of Joomla site with 17k article...

another pic of the issue,
You do not have the required permissions to view the files attached to this post.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44085
Joined: Sat Apr 05, 2008 9:58 pm

Re: Badd TTFB, how to improve ?

Post by Webdongle » Wed Aug 26, 2020 3:03 pm

@Folamour
Where are you getting the statistics that support your theory?

From my experience in the forums most of the sites that (I've seen here) have the amount of 3rd party extensions all have time and conflict issues.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Wed Aug 26, 2020 3:06 pm

Hi Webdongle, witch theory ? i guess that 17k article can be an issue to TTFB, there is no 'theory' or statistic about that, but i've faced so many of issue in 10 years so.... its a possiblity, we will be fixed in 1 or 2 day.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44085
Joined: Sat Apr 05, 2008 9:58 pm

Re: Badd TTFB, how to improve ?

Post by Webdongle » Wed Aug 26, 2020 3:30 pm

Folamour wrote:
Wed Aug 26, 2020 3:06 pm
... witch theory ? i guess that 17k article can be an issue to TTFB, there is no 'theory' or statistic about that, ..
There is a theory your theory.
You made a statement that has no base in fact
Folamour wrote:
Wed Aug 26, 2020 2:44 pm
... i dont think there is a lot of Joomla site with 17k article...
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Wed Aug 26, 2020 5:26 pm

hi Webdongle thanks, i've put a request for a dev joomla, i'm ready to offer 100€ (i cannot more), we earn nothing with our website

And i dont make a statement i emit an hypothesis...

Thanks gws, the issue occur randomly, and i guess that the cache is populated, so it must be very fast.

Jquery and Boostrap are also disabled, so its a nice thing. ; ))))

I've desactived jot cache so you will have more chance to saw the issue :

Check :

https://www.webpagetest.org/result/2008 ... 40203ae7e/

Take a look how react the server without Jotcache

https://www.webpagetest.org/result/2008 ... 250b91ab3/

Notice the TTFB at the top of the graph ?

its the same request who is hide by jot cache, but who appear time to time and lag the server

the site is calling himself,

we have 301 on the way with route66 but here its not the case,

don't know if that a normal behaviour, my friend dev did not reply.

update : i'll checked the joomla site of a member of this thread ; )

https://www.webpagetest.org/result/2008 ... view_step1

And there is the same request at the top the site is calling himself, so i'll think its a normal behaviour, but in this case this took 424ms......... Rock stable 3x4 test same speed.

thanks,

f.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Fri Aug 28, 2020 1:54 pm

Hi folks, just to let you know, a service provider free of charge (cool man) confirm me yesterday that the issue is mostly hardware, so we have tested the new server this morning, and the issue as gone, so, yes Webdongle 17k article is not a problem for Joomla in term of performance :D :


2.3, 2.5, 2.2

https://www.webpagetest.org/result/2008 ... 266eb4fd1/

2.3, 2.5, 2.4

https://www.webpagetest.org/result/2008 ... 4c1aca40c/

2.2, 2.5, 2.5

https://www.webpagetest.org/result/2008 ... 9fc32c04d/

2.4, 2.4, 2.5

https://www.webpagetest.org/result/2008 ... ee25e140d/

Thanks you all for your precious help,

f.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Mon Aug 31, 2020 9:04 am

How did you disable the plg etc?

Did you use Dgrammatiko optimiser https://dgrammatiko.online/blog/fight-the-bloatwares/

https://dgrammatiko.github.io/on-a-diet/

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Mon Aug 31, 2020 9:12 am

witch plug in ? there is so much
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Mon Aug 31, 2020 10:25 am

Folamour wrote:
Mon Aug 31, 2020 9:12 am
witch plug in ? there is so much
Its not just plugins. Its components, modules and plugins you dont use. Do you use banners? No ok then you have the option to remove it.. did you read the info there? Do you need the module sample data? no then remove it.

Its up to you...

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Wed Sep 02, 2020 9:31 am

You can read some good tips here about Google Page Speed Insights (PSI) and some other good Joomla tutorials as well https://www.techfry.com/webmaster-tips/ ... sights-psi

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Wed Sep 02, 2020 1:18 pm

thanks darb ; )))))
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Badd TTFB, how to improve ?

Post by waarnemer » Fri Sep 04, 2020 8:51 am

I saw you already moved to another host..

there is still some TTFB but not to horrid.
From NL all pages seem to load well. TTFB is highest mark but pages load under 2 seconds.
On a 500Mbps connection.
Timed on September 4th, between 9:00 and 9:30 CEST

BUT continue to make changes

1. You do have a lot of third party extensions that mark enabled/disabled unknown (?) check these.
2. You may have a lot of extensions that may call external resources. When not available in time, the PHP render of your site will stall. Check your server's outgoing traffic.
3. You may need to check the max connections to your mySQL database as well as max clients in your webserver (apache/nginx)
4. The nature of articles on your site is a trigger for hackers to target and attack your site. Check your servers logs for that. Attacks may slow down your site. You will see where the domain is yours, the TTFB is larger than on the other domain sources. So when under attack your pages become slow, the rest will do ok.
5. Do not use optimization tools.. aggregating your scripts is probably preventing visitors to browser cache stuff properly. Optimize your images before uploading them.
6. check the browser F12 tab "console" for warnings and errors. There are lots of them.
7. Your template is created around old standards. scripts and stylesheets are embedded the old way (without the MD5 version hash). Make sure it is up to date.
8. some scripts are called twice, from your domain as well as your cdn, though they are not in the page source. Check your plugins
9. Do check if your cdn is configured properly as there is some queuing on images.
10. (hydro)chloroquine will not save you.

Any situation is different and has no 1 fix solution that fits all situations. So there are no spot-on-answers to issues on your server and site. However, the above will help you find solutions and improvements.

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Fri Sep 04, 2020 9:14 am

Good advice.

I think you should remove a lot of these 3pds plugins and instead get some that improve the speed if thats your concern.

Do WebP images https://extensions.joomla.org/extension/dj-webp/

Server cache LIteSpeed or for NGINX and VARNISH example https://extensions.joomla.org/extension/server-cache/

Javascript Async & Defer https://extensions.joomla.org/extension ... and-defer/

Jotcache https://extensions.joomla.org/extension/jotcache/

Litespeed cache https://github.com/litespeedtech/lscache-joomla

These working well I tested them on latest Joomla

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Fri Sep 04, 2020 1:38 pm

thanks a lot you guys, darb, waarnemer that some great professional advise i will test all of that tonite, thanks a lot for your time & effort, hope this will not crash the site, but i cannot change of template.

server cache seem speed up the whole site,

I already use jot cache and lite speed seem the same thing, defer async is already used,

but can you tell me a bit more how to use webp plug in ?

i agree for HCQ too ; ))))))))))

thanks !
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Fri Sep 04, 2020 2:08 pm

Just install the plg make easy settings and you have WebPs created "on the fly". You can also delete all created WebP images by a "delete" url by the plugin.

"WebP is an image file format which contains image data with both lossless and lossy compression. Developed by Google, WebP basically is a derivative WebM video format. The format is capable of reducing image file size up to 34% smaller than JPEG and PNG images while retaining high-quality."

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Badd TTFB, how to improve ?

Post by waarnemer » Fri Sep 04, 2020 2:52 pm

if you do start using webp make sure your cdn can workout the on the fly images and functionality

purging images from your server is not the same as purging from cdn....

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Fri Sep 04, 2020 3:04 pm

ok guys, seem easy as 1, 2, 3, i'll ask keycdn about Webp
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Fri Sep 04, 2020 6:35 pm

Darb i'll tried webp image plugin, but that seem work only for compoment, i'll try to put my images folder (attached), but the image is still .jpg

Good news the server seem to support Webp, and the CDN too.

any clue ?

thanks,
You do not have the required permissions to view the files attached to this post.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Sat Sep 05, 2020 12:58 am

its ok i've managed to make work Webp but result is worst than without
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

User avatar
darb
Joomla! Hero
Joomla! Hero
Posts: 2042
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden

Re: Badd TTFB, how to improve ?

Post by darb » Sun Sep 06, 2020 4:15 pm

Ok. If you have Litespeed that is the best for Joomla and hosting performance you can test this 1.3.2 version plg/comp latest attached. Pls let us know if that helped too :pop
You do not have the required permissions to view the files attached to this post.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30922
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Badd TTFB, how to improve ?

Post by Per Yngve Berg » Sun Sep 06, 2020 4:57 pm

Have you checked that OPcache is enabled in PHP?

Otherwise the php code have to be compiled at each request.

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Mon Sep 07, 2020 2:03 am

Hi Per Yngve Berg, god advice, i've mem cached on the new server but i'll dont think they have opcache, they have 'redis' on the server,

thanks,

f.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla

Folamour
Joomla! Explorer
Joomla! Explorer
Posts: 315
Joined: Sun Mar 07, 2010 11:19 am

Re: Badd TTFB, how to improve ?

Post by Folamour » Sun Sep 13, 2020 8:31 am

Hi darb thanks for lite speed, i saw a little improvment but not so much, the host also tell me that Op Cache is installed,

So far i've been able to get very good result for the homepage with 2.3 sec page load and 2.4 LCP Google Page Speed, (this page has 3 preview of article and a slideshow)

https://www.crashdebug.fr

But i still have issue for the 'stand alone' article page, who is minimal, and load in 2.12 sec, but Google said the LCP is 2.9 sec, so i cannot reach the 'essential web signal' who need to be below 2.5 sec,

Example :

https://www.crashdebug.fr/que-devient-y ... la-tribune


So i dont understood the article page as no slide show, minimal picture and so on, but i've extravote plugin and facebook share, (but i've disabled it to test and they are not at the origin of the issue)

why this article page is so slow ?, it's awesome compared to homepage who is really heavy loaded.

Any clue ?

f.
https://www.crashdebug.fr talk about actualities and politics and many other topics.

How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla


Locked

Return to “Performance - Joomla! 3.x”