Optimize Joomla: 9 Tips to Speed Up Your Website

Last updated on 20 Nov 2026
Optimize Joomla: a team speeds up a website on a race track
A Joomla site that takes four seconds to load on mobile loses part of its visitors before they even see the homepage. The good news: Joomla has almost everything it needs to be fast, as long as the right settings are switched on. Caching, compression and lazy-loaded images are often available but disabled, and a few poorly chosen extensions are enough to slow everything down.

This guide brings together 9 tips to optimize Joomla and improve Joomla performance in 2026: caching, compression, .htaccess rules, images, extensions, updates, CDN and optimized Joomla hosting. It also explains how to measure results and what Joomla maintenance should cover so speed lasts over time. An interactive checklist helps you see where you stand.

At a glance

  • To optimize Joomla, start with the global configuration: system cache, page cache and Gzip compression.
  • WebP images, declared dimensions and lazy loading cut page weight more than any other measure.
  • Every extension adds code: remove the ones you no longer use and choose maintained extensions.
  • Joomla 6, PHP 8.3 or newer, and hosting with OPcache and HTTP/2 or HTTP/3 make a big difference.
  • Speed is measured (PageSpeed Insights, Core Web Vitals) and maintained through regular upkeep.

Why optimize Joomla performance?

Speed matters on three fronts. Visitors first: beyond three seconds on mobile, a large share leave the page. SEO next: Google uses Core Web Vitals (LCP, INP, CLS) as a ranking signal, and a slow site is also crawled less efficiently. Sales finally: forms, quote requests and orders suffer directly from every second of waiting.

Joomla is not slow by nature. Sluggish sites usually combine a disabled cache, heavy images, too many extensions, an old version of Joomla or PHP and underpowered hosting. The nine tips below tackle these causes one by one.

Measure before you optimize

Metric Target What it measures
LCP (Largest Contentful Paint) under 2.5 s display of the largest visible element
INP (Interaction to Next Paint) under 200 ms responsiveness to clicks and typing
CLS (Cumulative Layout Shift) under 0.1 layout stability
TTFB (server response time) under 0.8 s speed of the server and Joomla
Page weight under 2 MB images, scripts, fonts
Metrics to record with PageSpeed Insights on mobile, before and after optimization.

Record the results before changing anything, on the homepage and on two or three typical pages (article, service page, product page). You can then check the effect of each setting instead of changing everything blindly.

Caching

Caching saves Joomla from rebuilding every page on every visit. Two levels work together:

  • The system cache (System, Global Configuration, System tab): choose “conservative” caching, the safest option, which keeps modules and components in memory.
  • The page cache: enable the “System – Page Cache” plugin. It stores the complete HTML page for logged-out visitors. Exclude dynamic pages (cart, forms, members area) in its options.

After each content change, clear the cache (System, Clear Cache) so visitors see the new version.

Optimize Joomla with compression

Turn on Gzip compression in the global configuration (Server tab). The server then sends compressed files, often three to five times lighter for HTML, CSS and JavaScript. If your host offers Brotli compression, which is even more efficient, enable it at server level and leave Joomla’s Gzip option off to avoid double compression.

Optimization rules in .htaccess

Joomla ships an htaccess.txt file to rename to .htaccess on an Apache server: it enables friendly URLs and a few protections. Add browser caching for static files so images, CSS and scripts are not downloaded again on every visit:

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
</IfModule>

On an Nginx server, these rules go in the server configuration; ask your host.

Image optimization

Images often make up more than half of a page’s weight. Resize them to their real display size, convert them to WebP (or AVIF), and compress them at around 80% quality. Joomla automatically adds lazy loading and dimensions to images inserted through the editor; make sure the main image at the top of the page is not lazy loaded, since it is often the LCP element. Our image SEO guide covers this in more depth.

No time to fine-tune all of this yourself? Our experts take care of it for you

Remove unused and poorly optimized extensions

Every enabled component, module or plugin can load its own scripts and stylesheets on every page, even where it is not used. Take stock under System, Manage, Extensions: uninstall what you no longer use, disable modules that are not displayed, and replace abandoned extensions (no updates for a long time) with maintained alternatives or with Joomla’s native features, which have grown a lot since Joomla 4.

Performance optimization extensions

An optimization extension can combine and minify CSS and JavaScript, defer non-essential scripts, generate critical CSS or convert images. JCH Optimize is the long-standing reference in the Joomla ecosystem. Use it methodically: enable one option at a time and check the display, since combining scripts can break some features. One optimization extension is enough; two will get in each other’s way.

Keep Joomla and extensions up to date

Each Joomla release brings performance gains, and so does each PHP version: moving from an old PHP version to PHP 8.3 or 8.4 often speeds up page execution noticeably. In 2026, Joomla 6 is the version to use; Joomla 5 only receives security fixes until October 2027, and Joomla 3 and 4 are end of life. Updates matter for security too: a hacked site is often a slow site. To build a lightweight front end, see our guide on how to create a Joomla template.

Use a CDN

A CDN (content delivery network) copies your static files to servers around the world and serves them from the one closest to the visitor. For a site that targets several countries, the gain is real. Cloudflare, BunnyCDN or your host’s CDN usually plug in without changing Joomla, through a DNS change or a media URL setting.

The hosting server

No optimization can make up for an underpowered server. Optimized Joomla hosting brings together:

Item Recommendation
PHP version PHP 8.3 or newer, with OPcache enabled
Database MySQL 8 or a recent MariaDB
Protocol HTTP/2 or HTTP/3, TLS certificate
Storage SSD or NVMe drives
Server cache Redis or Memcached for Joomla caching on busy sites
Location server close to your visitors, or a CDN
What optimized Joomla hosting looks like.

Entry-level shared hosting is fine for a small brochure site; as soon as traffic, multilingual content or a store come into play, a well-configured VPS or dedicated server becomes necessary.

Optimize Joomla performance: caching, compression and lighter images

Checklist: where does your Joomla site stand?

Tick what is already in place on your Joomla site (nothing is saved)

Joomla maintenance: keeping the speed over time

A site that is fast on launch day can slow down within months: new extensions, uncompressed images added by editors, a growing database, an ageing PHP version. Joomla maintenance should therefore include, beyond updates and backups:

  • a monthly measurement of speed and Core Web Vitals;
  • cleaning the cache, sessions and old content versions;
  • a review of installed extensions;
  • checking images added by editors;
  • monitoring server uptime and errors.

When a breakdown or sudden slowness occurs, fixing a Joomla site always starts with the error logs and the list of recent changes: the cause is often a recently updated extension or a modified setting. For a general method, see our guide to fixing a slow website.

Joomla site maintenance: updates, backups and speed monitoring

Common mistakes

  • Enabling page caching on a site with a members area without excluding dynamic pages.
  • Stacking optimization extensions that contradict each other and break the display.
  • Uploading 4 MB photos straight from the camera.
  • Leaving debug mode on in production, which slows every page.
  • Staying on an old PHP version for fear of incompatibilities.
  • Judging speed on a desktop computer instead of measuring on mobile.

Wrapping up

Optimizing Joomla is rarely about a hidden trick. It is the sum of simple settings: caching and compression on, light images, trimmed extensions, up-to-date versions, suitable hosting. Our advice: measure, apply the tips in the order of this guide, measure again, then make speed part of the site’s routine maintenance. If you are considering a move to another CMS, see how to migrate Joomla to WordPress.

Frequently asked questions about Joomla performance

How do you enable caching in Joomla?

In System, Global Configuration, System tab, choose “conservative” caching. Then enable the “System – Page Cache” plugin to cache full pages for logged-out visitors, excluding dynamic pages. Clear the cache after every significant content change.

How do you enable Gzip compression on a Joomla site?

In System, Global Configuration, Server tab, turn on Gzip page compression. If your host already handles Gzip or Brotli compression at server level, leave the Joomla option off to avoid double compression. Check the result with PageSpeed Insights.

Which Joomla version should you use in 2026?

Joomla 6, released in October 2025 and supported until 2029, with PHP 8.3 or newer. Joomla 5 only receives security fixes until October 2027, and Joomla 3 and 4 are end of life. A recent version is both faster and safer.

Why is a Joomla site slow?

The most common causes are a disabled cache, heavy images, too many or badly coded extensions, an old version of Joomla or PHP, and underpowered hosting. A PageSpeed Insights test and the list of installed extensions usually reveal the main issue.

Is a CDN useful for a Joomla site?

Yes, especially if your visitors come from several countries or the site holds many images. The CDN serves static files from a server close to the visitor and takes load off your hosting. For a small local site the gain is smaller, but a CDN often adds protection against attacks too.

Joomla or WordPress: which CMS is faster?

Neither is fast or slow by nature: it all depends on configuration, theme or template, extensions and hosting. A well-tuned Joomla site is as fast as a well-tuned WordPress site. The choice of CMS is better made on functional needs and on the team that will maintain the site.

Our sources