Improve Joomla Website Speed

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.
Post Reply
adrianbartels
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 09, 2019 7:25 pm

Improve Joomla Website Speed

Post by adrianbartels » Mon Jul 08, 2019 8:26 pm

Hi guys,

Tell please where I can find recommendation regarding Joomla website speed improvements?

No I use those:

1. Enable Caching
2. Enable Compression
3. Add in .htaccess Optimization Rules:

Code: Select all

########## Begin - ETag Optimization
## This rule will create an ETag for files based only on the modification
## timestamp and their size.
## Note: It may cause problems on your server and you may need to remove it
FileETag MTime Size
# AddOutputFilterByType is now deprecated by Apache. Use mod_filter in the future.
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
# Enable expiration control
ExpiresActive On
# Default expiration: 1 hour after request
ExpiresDefault "now plus 1 hour"
# CSS and JS expiration: 1 week after request
ExpiresByType text/css "now plus 1 week"
ExpiresByType application/javascript "now plus 1 week"
ExpiresByType application/x-javascript "now plus 1 week"
# Image files expiration: 1 month after request
ExpiresByType image/bmp "now plus 1 month"
ExpiresByType image/gif "now plus 1 month"
ExpiresByType image/jpeg "now plus 1 month"
ExpiresByType image/jp2 "now plus 1 month"
ExpiresByType image/pipeg "now plus 1 month"
ExpiresByType image/png "now plus 1 month"
ExpiresByType image/svg+xml "now plus 1 month"
ExpiresByType image/tiff "now plus 1 month"
ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
ExpiresByType image/x-icon "now plus 1 month"
ExpiresByType image/ico "now plus 1 month"
ExpiresByType image/icon "now plus 1 month"
ExpiresByType text/ico "now plus 1 month"
ExpiresByType application/ico "now plus 1 month"
ExpiresByType image/vnd.wap.wbmp "now plus 1 month"
ExpiresByType application/vnd.wap.wbxml "now plus 1 month"
ExpiresByType application/smil "now plus 1 month"
# Audio files expiration: 1 month after request
ExpiresByType audio/basic "now plus 1 month"
ExpiresByType audio/mid "now plus 1 month"
ExpiresByType audio/midi "now plus 1 month"
ExpiresByType audio/mpeg "now plus 1 month"
ExpiresByType audio/x-aiff "now plus 1 month"
ExpiresByType audio/x-mpegurl "now plus 1 month"
ExpiresByType audio/x-pn-realaudio "now plus 1 month"
ExpiresByType audio/x-wav "now plus 1 month"
# Movie files expiration: 1 month after request
ExpiresByType application/x-shockwave-flash "now plus 1 month"
ExpiresByType x-world/x-vrml "now plus 1 month"
ExpiresByType video/x-msvideo "now plus 1 month"
ExpiresByType video/mpeg "now plus 1 month"
ExpiresByType video/mp4 "now plus 1 month"
ExpiresByType video/quicktime "now plus 1 month"
ExpiresByType video/x-la-asf "now plus 1 month"
ExpiresByType video/x-ms-asf "now plus 1 month"
4. Reduce Your Images Size
5. Use Optimization Extensions such as:

JCH Optimize
Jbetolo
JotCache
Cache Cleaner

Tell please what you could recommend as an extra option?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22326
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: Improve Joomla Website Speed

Post by pe7er » Mon Jul 08, 2019 9:28 pm

adrianbartels wrote:
Mon Jul 08, 2019 8:26 pm
Tell please what you could recommend as an extra option?
  • Use a custom build template that is optimized for speed (as little CSS + JS as possible).
  • Use as little 3rd party extensions as possible and try to stick to the core. With (Alternative) Template Overrides + Custom Fields you can accomplish a lot with the Joomla core.
Use Google Chrome's inspector + GTMetrix to see what they recommend to futher improve the speed of your site.
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1003
Joined: Sat Aug 13, 2011 6:27 am

Re: Improve Joomla Website Speed

Post by Slackervaara » Sat Jul 13, 2019 6:04 pm

For PHP 7 its important to enable opcache in PHP-settings if you have access to it, but you can enable opcache also via .htaccess.

Normally PHP scripts are compiled at runtime. Part of the computing time is required to convert the code. With OPcache, this calculation is performed only once and the precompiled, machine-readable (calculated) script is stored in a cache. The script can be loaded from this cache at lightning speed if required. In most cases this leads to considerable speed improvements.

https://patrickkerrigan.uk/blog/php-opcache-file-cache/

https://www.ionos.com/community/hosting ... oticeably/

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1003
Joined: Sat Aug 13, 2011 6:27 am

Re: Improve Joomla Website Speed

Post by Slackervaara » Sun Jul 14, 2019 6:07 pm

Yesterday I installed Sitemap Cache, as I realized that the sitemap with OSMap may consume a lot of resources if someone hits the page repeatedly (7000 articles). After the installation and cache for 24 hours the sitemap was lightening fast and a resource hog eliminated.

https://extensions.joomla.org/extension ... map-cache/

adrianbartels
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Jun 09, 2019 7:25 pm

Re: Improve Joomla Website Speed

Post by adrianbartels » Mon Jul 22, 2019 2:19 am

Hi,

Many thanks for the suport and reccomendations. Also I heard that on the speed influence the web hosting. It is directly related to the website uptime and load time. My website has godaddy cheap shared hosting. From this guide https://besthostadvisor.com/web-hosting-guide/ I read that the most populat cons of shared hosting are:

can not handle high traffic (above 30k visitors).
No root access.
The performance of your site can get affected by other websites hosted on the server.

Tell please should i change the web hosting provider or just optimize the website according your extra reccomendations?

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

Re: Improve Joomla Website Speed

Post by gws » Mon Jul 22, 2019 7:16 am

Godaddy (nodaddy) does not enjoy a good reputation on these forums. I would change hosts.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1003
Joined: Sat Aug 13, 2011 6:27 am

Re: Improve Joomla Website Speed

Post by Slackervaara » Tue Jul 23, 2019 4:39 pm

It is very important if you use PHP 7 that your extensions is adapted to PHP 7. For me I had 5-6 that I had to exchange, because they gave a lot of errors that slowed down the site. Worst for me was Kide Shoutbox that produced an enormous amount of errors. You can look in your error log if you have it for errors.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1003
Joined: Sat Aug 13, 2011 6:27 am

Re: Improve Joomla Website Speed

Post by Slackervaara » Tue Jul 30, 2019 6:36 pm

If you think the site is slow one can complain to the web hotel and ask if you can be moved to a faster server. They generally have a server with less homepages that is faster. The other day my web hotell upgraded my server and it was much faster afterwards.

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 400
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: Improve Joomla Website Speed

Post by changlee » Thu Aug 08, 2019 6:58 am

Hello Joomlers,
The first and most important for Joomla website speed is the right server setup.

Eg, if the server is full 100% SSD, includes Varnish or LiteSpeed, and is located at a clear network. Upload a static html file there and then you may check its Google PageSpeed.

Also, if you run a big site with big traffic, you need VPS 2GB or 4GB. After all that you may enable Joomla cache system that is excellent.
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

helpwithjoomla
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Sat Sep 21, 2019 7:29 pm

Re: Improve Joomla Website Speed

Post by helpwithjoomla » Wed Sep 25, 2019 4:37 pm

Look into the JCH Optimize Extension. We use it and it definitely helps with website speed.

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1446
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Improve Joomla Website Speed

Post by darb » Mon Sep 30, 2019 11:50 am

Litespeed and Litespeed Joomla plg seems to be the best cache option https://www.litespeedtech.com/products/ ... celeration and also add HTTP/2 support there is some extensions like this that works very well https://extensions.joomla.org/extension ... tp-2-push/
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben


Post Reply

Return to “Performance - Joomla! 3.x”