Loading...

How to Speed Up WordPress on Hostinger

Hostinger runs LiteSpeed Web Server on every plan, so a WordPress site can be fast out of the box, but a stock install usually leaves half the speed on the table. Caching layers are off by default, PHP is not always on the latest version, image optimization requires a toggle, and the Hostinger CDN is a plan-tier feature most owners forget to enable. This guide walks through every speed lever on Hostinger in the order they pay off, with the exact hPanel path for each and a realistic estimate of how much each change moves the numbers.

Step 1: Measure Before You Optimize

Optimization without a baseline is guessing. Before you toggle anything, run PageSpeed Insights or GTmetrix three times against your homepage and against your slowest inner page (usually a category archive or a WooCommerce shop). Save the median results. You want three numbers on the page:

  • Time to First Byte (TTFB): under 500 ms on a shared plan. If your baseline is over 1,000 ms, caching alone will not fix it; the fix is upstream.
  • Largest Contentful Paint (LCP): the Core Web Vital Google actually ranks on. Under 2.5 s is the target.
  • Total page weight: a homepage over 3 MB is image-bound. Caching shaves milliseconds; deleting 2 MB of unused JavaScript shaves seconds.

Come back to these numbers after every change so you can tell what actually moved the needle.

Step 2: Turn On LiteSpeed Cache and Object Cache

The single biggest lift on Hostinger is enabling the two caching layers that ship with the LiteSpeed stack but sit off in fresh installs. LiteSpeed Cache stores fully-rendered HTML pages so guest visitors skip PHP entirely; Object Cache stores database query results so logged-in and dynamic pages skip the database. Together they typically cut TTFB by 60 to 80 percent on cacheable pages and 20 to 40 percent on dynamic pages.

Follow how to enable LiteSpeed Cache on Hostinger for the hPanel toggle and LSCWP plugin settings, then how to enable Object Cache on Hostinger for the Business-plan Memcached layer. Both are prerequisites for every step that follows, because the other optimizations either depend on LiteSpeed running or amplify its benefits.

Step 3: Upgrade PHP to the Latest Version

Every major PHP release ships with 10 to 20 percent throughput gains over the previous one. If your site is stuck on PHP 7.4 or 8.0, upgrading to 8.2 or 8.3 alone can drop TTFB by 100 to 200 ms with no other changes.

In hPanel, open Websites, select your site, and go to Advanced > PHP Configuration. Set PHP Version to the latest supported release (8.3 at the time of writing on most plans). Enable OPcache in the same panel if it is not already on; it caches compiled PHP bytecode in memory. Save and reload your site. If a plugin or theme is not compatible with the new PHP version, you will see a fatal error, roll back one version and update the offending plugin.

Step 4: Enable Brotli Compression

Brotli is a text compression algorithm that shaves 15 to 25 percent off transferred HTML, CSS, and JS versus the older gzip. It is off by default on some legacy Hostinger accounts. In hPanel, open Advanced > Cache Manager (or on newer accounts, WebSite > Performance) and confirm Brotli is set to ON. No plugin or code change is needed; the server negotiates it with browsers automatically.

Step 5: Turn On the Hostinger CDN

The Hostinger CDN caches static assets (images, CSS, JS) on Cloudflare-backed edge servers, so visitors do not hit your origin for every page load. Expect 30 to 60 percent faster asset delivery for international visitors and a modest drop in origin CPU load. It is included on Business, Cloud, and Agency plans; Single and Premium plans do not include it.

Enable the CDN through hPanel and confirm no other CDN (like Cloudflare's own DNS-level setup) is fighting it for DNS. The full walkthrough with the DNS check and LSCWP settings collision fix is in how to enable Hostinger CDN on WordPress.

Step 6: Optimize Images

Images are the largest slice of page weight on almost every WordPress site. Two changes move the numbers most:

  • Serve WebP versions. In WordPress admin, open LiteSpeed Cache > Image Optimization and click Send Optimization Request. The plugin uploads your media library to QUIC.cloud, receives WebP versions, and stores them alongside your originals. Modern browsers get the smaller WebP file automatically; older browsers fall back to the original.
  • Enable lazy loading. WordPress core does lazy-loading for images by default since 5.5. LSCWP extends this to background images and iframes. In LiteSpeed Cache > Page Optimization > Media Settings, turn on Lazy Load Images and Lazy Load Iframes.

Image optimization is usually the single biggest LCP fix once caching is on. On image-heavy sites, this step alone can lift a mobile PageSpeed score from the 50s into the 80s.

Step 7: Clean Up Plugins, Themes, and Third-Party Scripts

Every active plugin adds PHP work, database queries, and often front-end CSS or JavaScript. Every third-party script (analytics, chat widgets, ad networks, tag manager) is a network request the browser has to make before the page paints. The rule of thumb: deactivate anything you cannot articulate a use for.

Run through this checklist:

  • Deactivate and delete any plugin you have not used in 90 days.
  • Replace bloated themes (Divi, Avada, some Elementor themes) with a lightweight builder-free theme like GeneratePress, Astra Free, or the default Twenty Twenty-Four if you can.
  • Consolidate Google Analytics 4 into Google Tag Manager if you have both firing.
  • Move chat widgets (Intercom, Drift, Zendesk) to load only after user interaction using a delay-scripts plugin, or defer them behind a click-to-load pattern.

Cutting plugin count by 30 percent commonly drops TTFB by 100 to 300 ms on a shared plan, because each plugin is running its own database queries on every request.

Step 8: Optimize the Database

WordPress accumulates cruft: post revisions, auto-drafts, spam comments, expired transients, deleted-plugin residue. Over a few years these add hundreds of MB and slow every query. Clean it up once, then set a schedule.

The simplest path uses LSCWP's own database tab. Open LiteSpeed Cache > Database and run Optimize All. It removes revisions, drafts, spam, trash, and expired transients in one pass. For a deeper clean including orphaned meta rows, install WP-Optimize and run its full clean once, then let LSCWP handle weekly maintenance. Expect a 5 to 15 percent query-time improvement on databases over 100 MB.

When to Upgrade Your Plan

If you have done every step above and TTFB is still over 800 ms, or PageSpeed still flags server response time as an issue, hardware is now the ceiling. The Single and Premium shared plans oversell hardware more aggressively than Business and Cloud plans do, so a heavily loaded shared server can slow every request no matter how well-tuned your site is. Upgrading to a Business plan or above unlocks Object Cache, higher CPU allocation, and the built-in CDN, and typically drops TTFB by another 200 to 400 ms on top of the software fixes. The full stack picture, including when the ceiling is not the plan but the platform, is in the Hostinger WordPress Optimization Guide.

FAQs
Hostinger is competitive in the budget tier: expect TTFB in the 200 to 400 ms range from a well-tuned site on a Business plan. The Single and Premium shared plans are more oversold and can feel slower under load, particularly at peak evening hours. Most "Hostinger is slow" complaints trace to caching being off, PHP being on an old version, or the site being on a plan below Business without Object Cache.
Migrations often import an older caching plugin (WP Rocket, W3 Total Cache) that conflicts with LiteSpeed Cache, and leave the site on the pre-migration PHP version. Deactivate the migrated caching plugin, enable LiteSpeed Cache from hPanel, and update PHP to 8.2 or later. If TTFB is still high, run PageSpeed Insights and look at the top offender: usually images or a heavy theme.
Yes, on Business plan and above. It uses Cloudflare-backed edge servers and is enabled from hPanel per site. Single and Premium shared plans do not include the CDN; those sites need a third-party CDN like Cloudflare's free plan configured at the DNS layer.
Yes. LiteSpeed Cache is pre-installed on WordPress sites created through hPanel. On sites migrated from another host, you may need to install it manually from the WordPress.org plugin directory. Do not run LiteSpeed Cache alongside WP Rocket, W3 Total Cache, or WP Super Cache; only one page-cache plugin should be active.
Use the latest supported version, which is 8.3 or 8.4 on current plans. PHP 8.x is 10 to 40 percent faster than 7.x for WordPress workloads, and 8.3 is well-supported by the WordPress plugin ecosystem. Only downgrade if a specific plugin or theme fails to load, then update the offending code and upgrade back.
Realistic numbers on a shared plan after all steps in this guide: TTFB from 700 ms down to 250 ms, mobile PageSpeed score from the 40s into the 80s, LCP from 4 s down to 2 s. Sites already on a Business or Cloud plan with heavy image content see the biggest LCP drop; sites on Single or Premium plans see the biggest TTFB drop from Object Cache and upgraded PHP.
Some of the links on this blog are sponsored links
Newsletter
Stay Ahead in Hosting

Expert hosting tips, reviews, and exclusive deals — delivered straight to your inbox. Join thousands of smart webmasters.

You're in! Thanks for subscribing.
Something went wrong — please try again.
No spam, ever. Unsubscribe in one click.
Top