Skip to content
BeoHosting
BeoHosting
WordPress

How to Speed Up a WordPress Site - 15 Tips

BeoHosting Team··12 min read read
How to Speed Up a WordPress Site - 15 Tips

The speed of a WordPress site directly affects SEO rankings, user experience, and conversions. Google has confirmed that load speed is a ranking factor, and Amazon found that every 100ms of latency reduces sales by 1%. Here are 15 concrete tips for speeding up your WordPress site.

1. Choose fast hosting with a LiteSpeed server

All the optimizations in the world won't help if your hosting is slow. LiteSpeed Web Server is up to 12 times faster than Apache for dynamic PHP pages. BeoHosting runs LiteSpeed Enterprise on all plans, which means your WordPress has a fundamental speed advantage from the start. NVMe SSD drives further speed up reading the database and files. Take a look at our WordPress plans.

2. Install the LiteSpeed Cache plugin

On LiteSpeed servers, this free plugin caches at the server level - which is much more efficient than PHP caching. Enable Page Cache, Object Cache, and Browser Cache. The plugin also offers CSS/JS minification, image lazy loading, and CDN integration. On BeoHosting it's configured optimally and automatically.

3. Use the WebP image format

WebP images are up to 30% smaller than JPEG with the same quality. Use ShortPixel, Imagify, or the Smush plugin for automatic conversion. LiteSpeed Cache also has a built-in WebP conversion function. This is one of the most impactful optimizations for sites with many images.

4. Enable lazy loading for images and video

Lazy loading defers loading of images that are not visible on screen until the user scrolls to them. WordPress 5.5+ has built-in lazy loading for images, but plugins like LiteSpeed Cache offer more advanced options including lazy loading for iframes and video content.

5. Minify CSS and JavaScript files

Minification removes comments, whitespace, and unnecessary characters from CSS/JS files, reducing their size by 20-40%. Combining multiple files into one reduces the number of HTTP requests. Use LiteSpeed Cache or Autoptimize for automatic minification.

6. Use a CDN (Content Delivery Network)

A CDN distributes your site's static assets (images, CSS, JS) to servers worldwide. Visitors get content from the nearest server, which dramatically reduces load time. Cloudflare offers a free CDN plan that's perfectly sufficient for most sites. See our Cloudflare guide.

7. Update PHP to the latest version

PHP 8.3/8.4 is up to 3 times faster than PHP 7.4. In BeoHosting's cPanel, you can change the PHP version with one click in the "Select PHP Version" section. Before changing, check the compatibility of your theme and plugins with the newer PHP version.

8. Optimize the WordPress database

Over time, the database fills up with post revisions, spam comments, transients, and meta data from deleted plugins. Use WP-Optimize or Advanced Database Cleaner for regular cleanup. Limit the number of revisions by adding to wp-config.php: define('WP_POST_REVISIONS', 5);

9. Choose a lightweight WordPress theme

A heavy multipurpose theme with many built-in features can add 500KB+ to every page. Lightweight themes like Astra, GeneratePress, or Kadence load in less than 0.5 seconds. If you use a page builder, Elementor with the Hello theme is an optimal combination.

10. Deactivate unnecessary plugins

Every active plugin adds PHP code that runs on every request. The average WordPress site has 20-30 plugins, but most sites can function with 10-15. Deactivate and delete all plugins you don't actively use. Each removed plugin speeds up your site.

11. Enable Brotli compression

Brotli is a newer compression algorithm that is 15-25% more efficient than Gzip. On BeoHosting LiteSpeed servers, Brotli is enabled automatically. This reduces the size of HTML, CSS, and JS files transferred between server and browser, speeding up loading especially on slower connections.

12. Use Object Caching (Redis/Memcached)

Object caching stores results of frequent database queries in the server's memory. Instead of WordPress re-executing the same queries on every request, the result is fetched from cache in a fraction of a millisecond. This is especially useful for WooCommerce sites and sites with lots of dynamic content.

13. Disable the WordPress Heartbeat API on the front-end

The WordPress Heartbeat API sends AJAX requests to the server every 15-60 seconds for features like autosave and showing users currently editing the same post. On front-end pages this is not needed and can put load on the server. Use the Heartbeat Control plugin to limit or completely disable Heartbeat on the front-end.

14. Optimize Google Fonts loading

Google Fonts load by default from Google's servers, adding an external request. Use the OMGF (Optimize My Google Fonts) plugin to download fonts locally, or use font-display: swap in CSS to prevent the page from blocking rendering while fonts load.

15. Use the HTTP/3 protocol

HTTP/3 uses the QUIC protocol, which is faster and more reliable than TCP used by HTTP/2. It's particularly efficient on mobile networks with high latency. A required prerequisite is an active HTTPS protocol on your domain. BeoHosting LiteSpeed servers support HTTP/3 automatically - you just need to activate an SSL certificate (which is required anyway) and use a modern browser.

Bonus: Measure speed regularly

Use our speed measurement tool, Google PageSpeed Insights, GTmetrix, or WebPageTest to regularly measure site speed. The goal is to keep First Contentful Paint under 1.8s, Largest Contentful Paint under 2.5s, and Cumulative Layout Shift under 0.1. On BeoHosting with the optimizations above, most WordPress sites achieve a PageSpeed score of 90+ on mobile devices.

BeoHosting Team

10+ years of experience — Web hosting and infrastructure specialists

  • Web Hosting
  • WordPress Hosting
  • VPS
  • Dedicated Serveri
  • Domeni
  • SSL
  • cPanel
  • LiteSpeed
  • Linux administracija
  • DNS

Last updated: