1. Home
  2. Getting Started
  3. Setting up Precaching in PWA

Setting up Precaching in PWA

Introduction to Precaching: One of the most important features of PWAs 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 PWA for WP & AMP plugin, we’ve implemented the Pre-caching functionality which helps you to cache the content.

There are two ways you can cache the content  I) Automatic  II) Manual.

  • Automatic: By enabling Automatic option you can cache the Post, Page and Custom Post Type and also you can set the number of posts which you want to cache.

  • Manual: In Manual option, you can directly add the URLs which you want to get the cache.

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.

Updated on April 16, 2019

Was this article helpful?

Related Articles

Leave a Comment