Smmpark — Progressive Web App package
=====================================

Target domain : smmpark.in
Deploy path   : /

Contents
--------
index.php           Landing / install page (pure HTML, no PHP logic)
manifest.json       Web App Manifest
service-worker.js   Service worker
smmpark-192.png     192×192 icon
smmpark-512.png     512×512 icon

IMPORTANT — Origin rule
-----------------------
A Progressive Web App is bound to the origin it is served from.
Browsers enforce this. This package must be uploaded to the target
domain itself:

    https://smmpark.in

The generator's own URL CANNOT install smmpark.in as a PWA. When the
user opens https://smmpark.in and clicks Install, the browser
records the origin as https://smmpark.in — because the manifest, the
service worker and the icons are all served from that domain.

No cookies, no sessions and no identifiers from the generator ever
travel to the target domain. The two are completely independent.

Deployment (cPanel / FTP)
-------------------------
1. Download the ZIP.
2. Extract it locally.
3. Upload ALL files to the target domain's public root
   (usually public_html/ for the root path, or the matching subfolder
   for ).
4. Make sure HTTPS is enabled on the target domain.
5. Open https://smmpark.in in Chrome (Android/Desktop)
   or Safari (iOS).
6. Tap Install (Android/Desktop) or Share → Add to Home Screen (iOS).

If you already have your own homepage
-------------------------------------
You can keep it. Just:
  • copy manifest.json, service-worker.js and the two PNG files to
    your site root,
  • add to your <head>:
        <link rel="manifest" href="/manifest.json">
        <meta name="theme-color" content="...">
  • register the service worker in your JS:
        navigator.serviceWorker.register('/service-worker.js');

Service worker policy
---------------------
  • Same-origin GET only.
  • Navigations: network first, cache fallback.
  • Static assets (css/js/images/fonts): cache first.
  • Never caches POST, Authorization, Range, or paths matching
    /admin /dashboard /account /login /logout /api /wp-admin
    /wp-login.php.
  • Old cache versions are cleaned on activation.

Generated by Universal PWA Generator.