American Independance Day DEAL is here!
25% off on Everything for a very limited time

Claim The Offer Now

How to Setup Precaching in SuperPWA

Introduction to Precaching: One of the most important features of SuperPWAs is the ability to load fast and to work on slow network conditions or even offline. To achieve this, we can use a service worker to precache the app and, when available, use the network only to fetch necessary data.

In our SuperPWA plugin, we’ve implemented the Pre-caching functionality which helps you to cache the content.

There are two ways you can cache the content 

  1. Automatic
  2. Manual

Step 1: You need to go to WordPress Dashboard -> SuperPWA -> Add-ons-> Click on the Caching Strategies Add-on “Activate” button


Step 2: After Activating Caching Strategies plugin you need to click on the settings button as shown below the screenshot.

Super Progressive Web Apps ‹ Demo Wodpress — WordPress 4

1) Automatic

  • Now you can access the Settings page. By enabling the Automatic option you can cache the Post, Page, and Custom Post Type, and also you can set the number of posts that you want to cache.
Super Progressive Web Apps ‹ Demo Wodpress — WordPress 3 1

2) Manual

  • You will find this option in the WordPress Dashboard -> SuperPWA -> Settings -> Features (Addons) ->After Activating Caching Strategies plugin you can access setting page. By enabling the Manual option, you can directly add the URLs which you want to get the cache.
Super Progressive Web Apps ‹ Demo Wodpress — WordPress 5

Note: You can cache as many posts as you want but it will be better if you use 10 posts for better performance.

That’s it for this tutorial!

We hope we’ve clear your doubts in case If you have any feedback or questions, Just contact us here and we are always available for you.

Leave a Reply

Your email address will not be published. Please enter all fields.

Stay Updated

Learn more about Progressive Web Apps
and get latest updates about SuperPWA

we'll share our root password before we share your email with anyone else.