Website speed and hosting: what the server can and cannot fix
Which parts of page speed depend on your host, such as server response time, PHP version and caching, and which depend on your site.
A slow site is often blamed on hosting. Sometimes that is right. Often the page itself is heavy. Knowing which side is at fault saves time.
What hosting controls
- Time to first byte (TTFB): how long the server takes to start answering.
- PHP and database versions, which affect dynamic sites a lot.
- Disk type. SSD or NVMe storage reads faster than old spinning disks.
- Server-side caching and compression.
- Network distance between the server and your visitors.
What your site controls
- Image size and format. Compress images and serve modern formats.
- Number of scripts and third-party tags.
- Plugins and themes that add queries on every page load.
- Caching rules for static files.
A simple way to measure
Run a page-speed test three times at different hours. If TTFB is consistently high, even for a simple page, look at the server or the plan. If TTFB is fine but the page is slow to display, look at images and scripts.
Quick wins
- Update to a current PHP version supported by your software.
- Enable page caching.
- Put a CDN in front of static files if your audience is spread across regions.
- Remove plugins you do not use.
Good hosting gives a fast base. A lean site makes use of it.
Ready to host your site?
See current plans in the Hosstec store and order in a few minutes.
Keep reading
Best web hosting for a small site: Hosstec, Namecheap, Hostinger, FastComet and Cloudways compared
A side-by-side look at entry shared hosting from five providers: published price, renewal price, trial or refund window, storage, limits and who each one suits.
ComparisonsCheapest .com domain registrars compared: Dynadot, Namecheap, NameSilo, Hosstec and Hostinger
Compare .com registration and renewal prices, privacy and extras across five registrars, with the number to watch: the renewal price.
ReviewsHostinger shared hosting review: what the Premium plan gives you and what it costs later
Plan limits, the 48-month price, the renewal price and what is included in Hostinger Premium, read from its own plan page.