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: 1
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: 22148
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! Guru
Joomla! Guru
Posts: 993
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! Guru
Joomla! Guru
Posts: 993
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/


Post Reply

Return to “Performance - Joomla! 3.x”