यह पेज अभी हिन्दी में उपलब्ध नहीं है, इसलिए आप इसका अंग्रेज़ी संस्करण पढ़ रहे हैं।

Make a WordPress site a PWA

Plugins, settings and the traps to avoid.

फ़्रेमवर्क शुरुआती 1 मिनट में पढ़ें समीक्षा: 27 नव॰ 2026

Plugins

  • PWA (the feature plugin, developed in the open on GitHub as pwa-wp): adds a web app manifest built from your Site Icon and settings, a service worker API for themes and plugins, and offline and 500 error templates. It aims to bring PWA support into WordPress core.
  • Several third-party plugins add a manifest, service worker and install prompts with a settings screen. Check when each was last updated and whether it is compatible with your WordPress version before installing.

What to cache safely

ContentStrategy
Theme CSS and JS, uploadsCache first (they have versions or unique names)
Public posts and pagesNetwork first, with offline fallback
/wp-admin/, /wp-login.php, REST API with authNever cache
WooCommerce cart, checkout, my-accountNever cache
Pages for logged-in usersNever cache, or the next visitor may see someone else's admin bar

Pitfalls

  • Page caching plugins and CDNs must not cache /sw.js for long, or updates never arrive.
  • Comment forms and search need the network: show a clear offline message.
  • Multilingual plugins: link the right manifest per language, and keep one id.
  • Test with a logged-in and a logged-out browser before launch.