How should i improve my site's server response time?
on gtmetrix waterfall tab shows that my site spends 2.8 seconds on requesting part
how can i reduce this part's duration?
any help would be appreciated
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityHow should i improve my site's server response time?
on gtmetrix waterfall tab shows that my site spends 2.8 seconds on requesting part
how can i reduce this part's duration?
any help would be appreciated
I recently reduced the server wait time on a client website from over 5 seconds to about a third of a second.
What didn't help
Enabling the Joomla cache would probably have helped but this often causes issues for me with CAPTCHA's not working etc.
I tried the free version of JCH Optimise to combine CSS and JavaScript files but there was very little improvement on this particular website (your mileage may vary).
What did help
Apart from all the usual steps such as reducing the number of third party extensions, finding the fastest third party extensions, enabling GZip etc, there were two things that really helped:
1. Reducing the number of modules that are loaded
There were a few places where I was able to reduce the number of modules I was loading.
For example, I was able to combine several modules in the footer area (social sharing buttons, a footer menu, a copyright notice and developer credit, member signup and login buttons and a logo) into one Custom HTML module.
I used responsive classes supplied with the template so that the columns still worked well responsively.
I was able to use the same trick in another area of the template, reducing three modules into one.
This helped reduce the server wait time by a couple of seconds.
2. Upgraded Hosting
The website was still too slow, so I convinced the client to upgrade their SiteGround "Startup" hosting account to the "GrowBig" account which includes an option to enable dynamic cache.
Once dynamic cache was enabled, the server wait time reduced to under a second.
I am using dynamic cache on all my own websites and quite a few client websites and dynamic cache does not seem to interfere with CAPTCHA's etc or cause any other issues and I am using quite a range of different extensions.
I'm sure there are other improvements that can help but this is what worked for me.
You can also fine tune a lot with JCH Optimze Pro that will make a lot of improvement for speed. and also optimze your htaccess file for example with akeeba Admin Pro if you dont know how to optimimze your htaccess file for speed and security
when i was uninstalling the jCGcache plugin, i saw "System - Page Cache" i enabled it and BOOM, Problem solved. server response time improved 2 seconds, and now it's under one second.
THANKS TO Neil Robertson FOR HELPING AND TELLING ME ABOUT CACHING.