Close Menu
Infoceptor
  • Business
  • Finance
  • Technology
  • Health
  • Life
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot
Flywheel Logo

Flywheel review in 2023

June 8, 2023
Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Facebook X (Twitter) Instagram
Infoceptor
  • Business
    This guide will show you how to determine the value of your business using different business valuation methods.

    How to value you business – The ultimate guide for 2023

    May 9, 2024
    Have you ever thought of starting your own laundry service? Find out how with this easy guide.

    How to start a laundry service company in 2023

    May 5, 2024
    Learn about the best online payment solutions available to you. Check out what’s available, learn their pros and cons, and choose the one that best fits your needs.

    The 15 best online payment solutions in 2023

    April 27, 2024
    Learn how to create powerful backlinks for your website and increase your site's search engine ranking.

    How to build backlinks to your website

    April 25, 2024
    In this beginner's guide, we will show you the steps involved in creating a mobile app.

    Beginner’s guide on how to develop a mobile app

    April 24, 2024
  • Finance
    Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

    Do you want to build wealth? Here are some ways to grow your money

    May 18, 2024
    Want to know your tax bracket? Check out our article for an overview of the different brackets and what you can expect to pay in 2022.

    Understanding IRS tax brackets – here’s what you’ll pay in 2023

    May 14, 2024
    This article will cover the best electric vehicle battery stocks to buy and invest in.

    The 10 best EV battery stocks to buy in 2023

    May 9, 2024
    The 10 most active penny stocks to watch this year is a list of the most active penny stocks ranked by total volume.

    The 10 most active penny stocks to watch in 2023

    May 8, 2024
    These electric car stocks are making a lot of money and you should consider adding them to your portfolio.

    The best electric car stocks to buy in 2023

    May 8, 2024
  • Technology
    Flywheel Logo

    Flywheel review in 2023

    June 8, 2023
    This article provides a list of the top iPhone models available today. Each model is reviewed based on features, specifications, performance, design and price point.

    Top iPhone models we’ve tested and you should get

    May 17, 2024
    Find out everything you need to know about the Apple Airpods Pro, including their price, features and if they're worth buying.

    Are Apple AirPods Pro a great choice in 2023?

    May 17, 2024
    To help you find the best responsive WordPress themes, we analyzed more than 100 themes and found those that are currently trending.

    The best responsive WordPress themes in 2023

    May 16, 2024
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
  • Health
  • Life
    These sympathy gifts make a great way to show you care while they also help your loved ones get through the tough times.

    The 15 best sympathy gifts that will show you care

    May 15, 2024
    Water bottles are a great way to stay hydrated. This article is dedicated to the most popular water bottles of the year!

    The best water bottles of 2023

    May 10, 2024
    Learn 30 weird and fun facts that will make you question everything.

    30 weird and fun facts that will make you question everything

    May 10, 2024
    Find out which cities in the US are the best for quality of life by checking out this article.

    20 best cities for quality of life in the USA

    May 7, 2024
    There are many ways to print your designs on t-shirts. Check out our list of the best printing services that offer top-notch quality at affordable prices.

    The 10 best T-shirt printing services of 2023

    May 6, 2024
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel
Facebook X (Twitter) Instagram
Trending
  • Flywheel review in 2023
  • Canada: Traveling restrictions and what you need to know before you go
  • Spain: Traveling restrictions and what you need to know before you go
  • Do you want to build wealth? Here are some ways to grow your money
  • Our in-depth review of the Always Pan
  • Top iPhone models we’ve tested and you should get
  • Are Apple AirPods Pro a great choice in 2023?
  • The best shower heads of 2023
Infoceptor
Home»Technology»WordPress»How to add cache to your WordPress website
WordPress

How to add cache to your WordPress website

Asih TirtaBy Asih TirtaSeptember 7, 20236 Mins Read
Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Share
Facebook Twitter LinkedIn

What is caching?

Caching is extremely important when it comes to WordPress website speed.

Caching stores frequently accessed data from your site in a temporary location on storage or in the memory for quick access.

That means caching can significantly improve a WordPress website’s loading times.

Caching and WordPress

Since WordPress is a dynamic PHP application, it frequently fetches information from your database and runs various processes whenever a visitor accesses your website.

If you have a lot of users loading your website simultaneously, this can slow it down. 

Caching helps speed up your website by storing static information on disk to prevent generating this data every time the page is opened.

The cached version is created the first time a specific page is visited, and then that information is served to each subsequent visitor.

Think of the cached page as almost a static page your visitor sees. Static pages always load much faster than dynamic ones pulling from a database on each load.

Another benefit of caching is that it reduces the strain your website puts on your hosting account and it allows you to utilize more resources on your account.

Since it also speeds up websites, it improves user experience, drives more traffic through organic search (Google gives an SEO boost to faster websites) and helps you increase engagement and time spent on your website.

Caching plugins

Now that you understand what caching is and how it helps improve your website speed – let’s cover two of the most popular WordPress caching plugins.

W3 Total Cache

W3 Total Cache is one of the oldest and most popular WordPress caching plugins. It has an extensive set of options available to correctly set up WordPress cache, such as optimized progressive rendering, gzip compression, restricted minification support, CDN support, AMP support, page cache and object cache. 

It can be a bit complicated for beginners due to the number of options it provides, but you can take time and fiddle with the setup since it’s a free plugin.

Download

WP Super Cache

WP Super Cache is another extremely popular caching plugin for WordPress and is developed by the WordPress parent company – Automattic. It currently has over 2 million active installations with a 4.5 star rating. 

WP Super Cache gives you an extensive set of caching settings such as page cache, advanced cache preload, gzip compression, cache pre-loading, CDN support and garbage collection.

It’s beginner-friendly and the settings are less intimidating for beginners, which is the reason it’s our recommended caching plugin for your WordPress website.

Download

How to set up WP Super Cache

Login to your WordPress dashboard and head to Plugins > Add New option. Use the search field at the top-right corner and search for WP Super Cache, and click the Install Now button to install the plugin:

Click the Activate button to activate the plugin:

Easy setup

If you don’t want to customize the caching options, simply head to Settings > WP Super Cache > Easy tab and select the Caching On option.

This will enable simple caching for you, and you don’t need to adjust anything.

Feel free to use the Cache Tester option on the Easy tab to ensure that caching was correctly activated:

Advanced setup

Head to the Advanced tab in Settings > WP Super Cache to customize the caching options:

Here are our recommended settings that should be enabled:

Caching – enables the caching option.

Cache delivery method – select Simple mode. Expert mode is for advanced users that are comfortable with editing PHP files and understand Apache’s mod_rewrite.

Cache Restrictions –  Set to Disable caching for logged in visitors. option so your regular visitors won’t see cached pages.

Don’t cache pages with GET parameters. (?x=y at the end of a url)  – disable caching for pages that are different for each user (sales pages, ad campaigns, etc.).

Compress pages so they’re served more quickly to visitors  – This is related to the GZIP compression.

Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated –displays the cached page during the generation of a new file.

304 not modified browser caching. Indicate when a page has not been modified since it was last requested. – prevents updating the cache on tag pages (to save server resources).

Make known users anonymous so they’re served supercached static files – make sure that all pages are cached for everyone (to counter the previous “don’t cache for known users” setting).

Enable dynamic caching – activates caching for dynamic content such as visitor count, ads, Amazon’s recommendations, and so on.

Mobile device support. (External plugin or theme required. See the FAQ for further details.) – this setting caches mobile pages if you’re using a mobile plugin such as WPtouch, or a mobile theme.

Remove UTF8/blog charset support from .htaccess file. Only necessary if you see odd characters or punctuation looks incorrect. Requires rewrite rules update – enable this option if you see weird characters on your website. If not, feel free to disable this option.

Clear all cache files when a post or page is published or updated – this option will update your blogroll on the homepage each time you publish a new post.

Extra homepage checks. (Very occasionally stops homepage caching)  – this option updates blogroll and dynamic content on your homepage.

Only refresh current page when comments made – if you have a lot of comments on your posts, enable this option to only refresh cache for the specific page instead of clearing the entire cache.

Late init. Display cached files after WordPress has loaded – this option makes sure the content stays dynamic and fixes the “super cache dynamic page detected but late init not set” error.

Cache location – leave as is.

Cache Timeout – set to 3600 if you have regular traffic; 1800 is advised for high traffic websites. This setting controls how often cached pages expire, and you don’t want to set it too low.

Accepted filenames & rejected URIs – define pages that shouldn’t be cached. You should use this to exclude shop pages or pages that are updated frequently.

Examples: 

  • /shop/
  • /shop/confirm-order/
  • /shop/checkout/
  • /shop/account/
  • /shop/cart/

Rejected user agents – stop user agents from seeing cached pages. Most often, you want to use this for search engines like Googlebot and Bingbot. 

Lock down – this option prepares your server for an anticipated spike in traffic and helps save server resources and prevent your site from crashing. When lock down is enabled, new comments on posts/pages won’t refresh the cached static files.

Fix configuration –  this setting resets the default WP Super Cache settings.

Clearing cache

If required, you can clear the cache on your website via Settings > WP Super Cache > Contents tab by clicking on the Delete Cache button:

People also viewed:

How to optimize WordPress website performanceHow to optimize WordPress for better performance The 3 best ways to speed up your WordPress website How to speed up WordPress by disabling WP-cron How to increase traffic and enhance SEO on WordPress How to set up forums on WordPress using the bbPress plugin
cache caching improve performance resources speed WordPress
Share. Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Previous ArticleHow to update your feature image across articles
Next Article How to create a WordPress child theme
Asih Tirta

Asih is a Infoceptor Technology writer, she is passionate about how technology can serve people and improve lives. She helps run code camps for K to 12 to teach young girls how to code and open doors to careers in tech for women.

Related Stories

How to speed up WordPress by disabling WP-cron

February 16, 2024

How to increase traffic and enhance SEO on WordPress

December 30, 2023
How to optimize WordPress website performance

How to optimize WordPress for better performance

September 7, 2023

The 3 best ways to speed up your WordPress website

September 7, 2023

Comments are closed.

Connect
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • LinkedIn
  • Reddit
  • TikTok
Don't Miss
Flywheel Logo Reviews

Flywheel review in 2023

By Matthew Drummond

Flywheel is a fast-growing web host that offers high-performance WordPress hosting for agencies, designers, and developers.

Travel restrictions in Canada are different depending on where you're traveling from and to. Here's what you need to know before you go.

Canada: Traveling restrictions and what you need to know before you go

May 19, 2024
If you are planning a trip to Spain, there are some travel restrictions that must be taken into consideration.

Spain: Traveling restrictions and what you need to know before you go

May 19, 2024
Learn how to build wealth and financial security. This article will share steps you can take to build a reliable cash reserve that will grow over time.

Do you want to build wealth? Here are some ways to grow your money

May 18, 2024
  • Auto
    • Auto Reviews
    • Electric
    • Insurance
  • Business
    • Company
    • Government
  • Entertainment
    • Movies
    • Music
  • Finance
    • Credit Cards
    • Crypto
    • Market
    • Personal Finance
  • Food
    • Coffee
    • Drinks
    • Holidays
  • Health
  • Beauty
  • Fitness
  • Food
  • Medical
  • Home
  • Backyard
  • Bathroom
  • Bedroom
  • Cleaning
  • Furniture
  • Home Office
  • Kitchen
  • Life
  • Astrology
  • Family
  • Fashion
  • Outdoors
  • Personal
  • Pets
  • Apple
  • Audio
  • Domain Names
  • Gaming
  • Google
  • Power
  • Reviews
  • Samsung
  • Destinations
  • Gear
  • Services
  • Space
  • Tourism
  • Technology
  • Tutorials
  • Web Hosting
  • WiFi
  • WordPress
  • Travel
  • Shopping
  • Sports
  • Work
  • Stocks
  • Television
  • Web Hosting
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn Reddit TikTok
© 2026 Infoceptor

Type above and press Enter to search. Press Esc to cancel.