Apps built with Basic SDKs already help you “cache” information so that they can be accessed without internet. However, browsers require some final steps to instruct them to load correctly instead of showing the “No Internet” error.

The easiest way is to copy the following and paste it into your vibecoding tool (e.g., Cursor, Windsurf, v0):

Click to copy PWA instructions

If you’re looking to implement it yourself, here are the main steps:

  1. Create a Web App Manifest: Create a manifest.json file that provides metadata about your app. This includes the app name, icons, theme color, and start URL.
  2. Add a Service Worker: Implement a service worker to manage caching and enable offline capabilities. This script runs in the background and can intercept network requests.
  3. Enable Offline Support: Use the service worker to cache essential assets and data for offline access.