Page 1 of 1

Improve Joomla Website Speed

Posted: Mon Jul 08, 2019 8:26 pm
by adrianbartels
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?

Re: Improve Joomla Website Speed

Posted: Mon Jul 08, 2019 9:28 pm
by pe7er
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.

Re: Improve Joomla Website Speed

Posted: Sat Jul 13, 2019 6:04 pm
by Slackervaara
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/

Re: Improve Joomla Website Speed

Posted: Sun Jul 14, 2019 6:07 pm
by Slackervaara
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/

Re: Improve Joomla Website Speed

Posted: Mon Jul 22, 2019 2:19 am
by adrianbartels
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?

Re: Improve Joomla Website Speed

Posted: Mon Jul 22, 2019 7:16 am
by gws
Godaddy (nodaddy) does not enjoy a good reputation on these forums. I would change hosts.

Re: Improve Joomla Website Speed

Posted: Tue Jul 23, 2019 4:39 pm
by Slackervaara
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.

Re: Improve Joomla Website Speed

Posted: Tue Jul 30, 2019 6:36 pm
by Slackervaara
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.

Re: Improve Joomla Website Speed

Posted: Thu Aug 08, 2019 6:58 am
by changlee
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.