How Caching Works on a Hosting Account Without a Plugin

When people hear “caching”, they think of a plugin. But caching starts earlier, on the server, and in some cases it works well before you install anything. This guide explains how caching works on a hosting account without a plugin, which settings you can use for free and how to check that they work.

What caching means

Building a page takes work. The server runs code, reads the database and puts the result together. If a hundred visitors ask for the same page, repeating that work a hundred times is wasteful. Caching saves the finished result and serves the saved copy. Visitors get the page faster, and the server does less work.

Three places where caching happens

  1. In the visitor’s browser. The browser stores files such as images and styles so it does not download them again.
  2. On the server. The server can store finished pages or the results of slow database queries.
  3. In a network in front of your site. A CDN keeps copies closer to the visitor. See our guide on {cdn}.

Browser caching with headers

You can tell browsers how long to keep a file by sending a response header. For static files like images, styles and scripts, a long time is usually safe. In cPanel you can often add these rules with a few lines in the .htaccess file. Always take a copy of the file before you edit it. Our knowledge base has an article on editing .htaccess safely, and one on fixing a 500 error after a change.

A typical rule says that images may be kept for a long time and that pages should be checked again sooner. The exact lines depend on your server, so test after every change. You can use our {hdr} to see which headers your site sends.

Compression helps too

Compression is not caching, but it works alongside it. It makes text files such as pages, styles and scripts smaller before they travel. Turning on compression in cPanel takes a minute. Our knowledge base has a short article on turning on Gzip compression, and the checker shows whether it is active.

Server-side caching on your account

Some hosting accounts offer server-level caching features in the control panel or through the plan. Look in cPanel for tools with names that mention cache, optimisation or performance, and read the plan description. If you are not sure what your account offers, ask support in a ticket. We can tell you what is available for your service.

Caching in your application

Many systems, including WordPress, can save pages as static files. This is the part that people usually do with a plugin. Without a plugin, a developer can set up page caching in the application or in the server rules. For most small business owners, a trusted plugin is simpler. The point is that browser caching and compression are free and do not need one.

What not to cache

  • Pages that are different for each visitor, such as account pages.
  • Shopping baskets and checkouts.
  • Forms that need fresh security tokens.
  • Admin screens.

A cache that serves the wrong page to the wrong person is worse than a slow page. If you run a shop, test baskets and logins after you turn anything on.

How to check that caching works

  1. Open the page in a private window and load it once.
  2. Open the network panel in your browser tools and reload.
  3. Look at the size and time column. Files that were cached show as served from memory or disk.
  4. Check the response headers of an image with the {hdr}.
  5. Compare load times before and after, using the {rt}.

When a change does not show up

Caching has a downside: you may not see your edit at once. If you change a style file or a page and the old version still appears, a cache is serving it. Clear your browser cache, reload with a hard refresh, and clear any server or network cache. When you change a file, give it a new name or add a version number so browsers fetch it again.

Where hosting fits

A well-sized plan makes caching more effective, because the server has room to do what remains. Our {cloud} page lists options for small sites, and our {vps} page describes dedicated resources for busy ones. Our guide on {gro} explains why sites slow as they grow, even with caching.

A short example

Lina runs a small training site. She does not want another plugin. She adds browser cache rules for images and styles, turns on compression and tests again with the headers checker. Repeat visitors now get the images from their own browser, and the pages are smaller to download. She notes the settings in a document, so anyone can undo them if something goes wrong.

Keep notes as you go

Write down what you changed, the date and the result. A short log turns guesswork into a record, makes it easy to hand the work to someone else and shows which changes were worth the effort. Review it every few months and drop anything that no longer helps your visitors or your business.

A safe order for the changes

  1. Take a full backup of your site and the .htaccess file.
  2. Turn on compression and test the site.
  3. Add browser cache rules for static files and test again.
  4. Check the headers of an image and of a page.
  5. If you run a shop, test the basket, the login and the checkout.
  6. Write down each change with the date, so you can undo it.

Doing this one step at a time makes mistakes easy to spot. If a step breaks the site, restore the saved file and try a smaller change.

Common mistakes with caching

  • Caching pages that differ for each visitor.
  • Setting very long times on files that you edit often.
  • Forgetting that a cache may hide your latest edit.
  • Turning on several caching tools at once, which can conflict.
  • Skipping a test after the change.

Most caching problems come from one of these. They are easy to avoid when you go step by step and test each change on a phone and a laptop.

When to ask for help

Editing server rules is not hard, but a small typing mistake can take a site offline for a moment. If you are not comfortable, ask a developer or open a support ticket and explain what you want to achieve. Say which pages, which files and which goal you have in mind. A short, clear request usually gets a quicker and safer answer than a long list of settings, and you keep a record of what was changed.

What good looks like

When caching works well, repeat visits feel instant, new visits are a little faster than before and the server shows lower load at busy times. Nothing looks broken, and edits show up when you expect them to. If you see all of this, stop tuning and move on to the next job on your list.

Frequently asked questions

Is caching safe?

Yes, if you avoid caching personal pages. Test baskets, logins and forms after each change.

Do I still need a plugin?

Not for browser caching and compression. A plugin is a convenient way to cache whole pages in WordPress.

Why does my edit not appear?

A cache is probably serving the old version. Clear browser, server and network caches.

How long should files be cached?

Long for images and fonts that rarely change, shorter for pages and files you edit often.

© 2026 Sulserv. All rights reserved.

Hosting. Domains. Support.System Status