Disclosure: this post contains affiliate links. If you sign up through them, I may earn a commission at no extra cost to you. I only recommend hosting I use myself.
This is my complete guide to Hostinger WordPress speed optimization. When I rebuilt this website, I set one goal: make it as fast as a WordPress site can be. It runs on Hostinger, and today it scores 100 on Google PageSpeed for desktop and 98 on mobile, with 100 for accessibility, best practices and SEO.
Below is exactly what I did, step by step, including the settings I used and the mistakes that cost me points along the way. You can follow the same steps on your own Hostinger WordPress site.
Quick summary
- Use hosting with LiteSpeed servers and a built-in CDN
- Run a current PHP version (this site uses PHP 8.3)
- Configure the free LiteSpeed Cache plugin properly
- Keep your theme and plugins lean
- Be careful with fonts and animations at the top of the page
- Force HTTPS and switch off WordPress features you don’t use
Why WordPress speed matters
Visitors leave slow sites, especially on phones. Google also uses Core Web Vitals, its page experience measurements, as part of how it ranks pages. A faster site keeps more visitors, ranks better and turns more of them into leads or sales.
Step 1: Start with hosting built for WordPress speed
No plugin can fix a slow server. I host this site on Hostinger because the platform gives me the three things I want for speed: LiteSpeed web servers, a built-in CDN and modern PHP versions, all managed from one dashboard.
If you’re setting up a new site or moving from a slow host, you can get Hostinger through my link.
Step 2: Use a modern PHP version
WordPress runs on PHP, and newer versions run the same code faster. In Hostinger’s panel you can switch PHP versions in a couple of clicks. This site runs on PHP 8.3. Before switching on an older site, check that your theme and plugins support it, ideally on a staging copy first.
Step 3: Make sure the CDN is serving your pages
A CDN keeps copies of your pages on servers around the world, so visitors get them from a nearby location instead of your main server. On this site, Hostinger’s CDN serves cached pages directly, so most visitors never wait for WordPress to build the page at all.
Step 4: Install and configure LiteSpeed Cache
Because Hostinger uses LiteSpeed servers, the free LiteSpeed Cache plugin is the right caching plugin. It talks directly to the server. These are the settings I use:
Cache
- Page cache: on
- Browser cache: on, so returning visitors load files from their own device
Page optimization
- CSS minify and combine: on (several style files become one)
- JavaScript minify: on
- Load JavaScript deferred: on, so scripts don’t block the page from showing
- HTML minify: on
- Font display swap: on, so text appears immediately while fonts load
- Remove query strings and emoji scripts: on
- DNS preconnect: fonts.googleapis.com and fonts.gstatic.com
After changing these, purge the cache and click through your site: open menus, submit forms and check that nothing broke. Deferring JavaScript is safe on most sites, but always test.
Step 5: Keep your theme and plugins lean
This site uses a lightweight builder (Oxygen) with no separate theme, and only a handful of plugins. Every plugin can add code to every page, so I removed anything that wasn’t needed. One marketing plugin was loading an external script on every page even though I never used it. Deactivating it was a free speed gain.
Avoid stacking several optimization plugins that do the same job, such as two caching plugins. They fight each other and often make things slower.
Step 6: Be careful with fonts and animations above the fold
This was the biggest lesson. My first mobile test on Google PageSpeed Insights scored 83, with the main headline taking 4.1 seconds to appear. The cause was a fade-in animation on the top section: the headline stayed hidden until the animation finished, and Google measures that delay.
I removed animations from the top of every page and kept them only further down, where visitors scroll. The headline then appeared in about 1.8 seconds and the score jumped to 96. The LiteSpeed settings above took it to 98.
For fonts, I use just two families, load only the weights I need, and let text show immediately with font display swap.
Step 7: Force HTTPS and switch off extras you don’t use
- Force HTTPS in the Hostinger Tools plugin, so every visitor gets the secure version of your site
- Disable XML-RPC, an old feature attackers often target
- Remove WordPress extras you don’t use, like the emoji script and embed scripts
My results
- Desktop: 100 performance, 100 accessibility, 100 best practices, 100 SEO
- Mobile performance: from 83 to 98
- Main headline on mobile: from 4.1 seconds to under 2 seconds
Frequently asked questions
Is Hostinger good for WordPress speed?
In my experience, yes. LiteSpeed servers, a built-in CDN and current PHP versions give you a fast starting point. Your theme, plugins and images still matter, so follow the steps above too.
Which caching plugin should I use on Hostinger?
LiteSpeed Cache. It is free and works directly with Hostinger’s LiteSpeed servers. Don’t run a second caching plugin alongside it.
Can I get 100 on mobile?
It’s possible, but Google’s mobile test simulates a slow phone on a slow connection, so even very fast sites often land in the high 90s. Anything above 90 is excellent and gives real visitors a fast experience.
Do I need to be a developer to do this?
Steps 1 to 4 and 7 are mostly settings you can change yourself. Trimming plugins and fixing a slow theme or page builder is where expert help usually pays off.
Get a fast WordPress site
Starting fresh? Get Hostinger here and follow this guide from day one. You can also read how I choose WordPress hosting for client sites.
Already have a slow site? I fix slow WordPress sites for a living. See my speed and fix services or tell me about your site.