{
    "schemaVersion":  "1.0",
    "contract":  "openacai-cache-policy",
    "generatedAtUtc":  "2026-07-07T18:59:11.8796370+00:00",
    "status":  "active",
    "policyRevision":  "2026.07.07",
    "cloudflare":  {
                       "publicWebsiteZone":  "openacai.com",
                       "publicApiZone":  "openacai.ong",
                       "privateStaffZone":  "openacai.org",
                       "privatePartnerZone":  "openacai.ngo",
                       "publicJsonEdgeCacheAllowed":  true,
                       "privatePortalsBypassCache":  true,
                       "cachePurgeAfterContractGeneration":  true,
                       "publicContractCacheRule":  {
                                                       "zone":  "openacai.ong",
                                                       "description":  "Cache OpenACAI public mobile contracts",
                                                       "pathCount":  121,
                                                       "appliesToRevisionQueries":  true,
                                                       "source":  "C:\\inetpub\\openacai-tools\\HelpOps\\configure-cloudflare-cache-rules.ps1"
                                                   },
                       "publicWebsiteExportCacheRule":  {
                                                            "zone":  "openacai.com",
                                                            "description":  "Cache OpenACAI public website exports",
                                                            "pathCount":  13,
                                                            "appliesToExportAndAppMetadataPaths":  true,
                                                            "excludesPrivatePaths":  true,
                                                            "source":  "C:\\inetpub\\openacai-tools\\HelpOps\\configure-cloudflare-openacai-com-cache-rules.ps1"
                                                        }
                   },
    "publicCache":  {
                        "publicPages":  "public, edge cache allowed when headers permit; PWA navigation requests are network-only to avoid stale page UI",
                        "publicResourceExports":  "public cache, validate generatedAt/reviewedAt and package/resource hashes before replacing local data",
                        "publicMachineContracts":  "public cache, package hash validation required before local replacement",
                        "publicMachineContractsWithRevisionQuery":  "same cache policy as the bare path; packageRevision query strings are for client validation and cache-busting, not private data",
                        "mobilePackage":  "no-cache/must-revalidate; use it as the source of truth for document hashes",
                        "pwaAssets":  "versioned cache; old versions deleted during service-worker activate",
                        "offlineFallback":  "serve last-known-good public documents only, with visible data age; page HTML fallback is a minimal no-store message"
                    },
    "serviceWorker":  {
                          "url":  "https://openacai.com/openacai-sw.js",
                          "cacheVersion":  "openacai-public-v20260707-64",
                          "hasResponseCacheGuard":  true,
                          "respectsNoStoreResponseHeaders":  true,
                          "respectsPrivateResponseHeaders":  true,
                          "usesResponseGuardBeforeCaching":  true,
                          "responseGuardUseCount":  3,
                          "navigationNetworkOnly":  true,
                          "avoidsPageShellPrecache":  true,
                          "sensitivePathBypass":  true,
                          "publicDataClassifier":  true,
                          "cacheVersioned":  true
                      },
    "noStore":  {
                    "paths":  [
                                  "contact",
                                  "login",
                                  "wp-admin",
                                  "wp-login.php",
                                  "wp-json",
                                  "private HelpOps APIs",
                                  "intake submissions",
                                  "case files",
                                  "staff portal",
                                  "partner portal"
                              ],
                    "privateDataClasses":  [
                                               "names",
                                               "emails",
                                               "phone numbers",
                                               "message text",
                                               "case notes",
                                               "assignments",
                                               "uploaded files",
                                               "Cloudflare Access identities"
                                           ],
                    "rule":  "never store in public caches, PWA caches, native caches, analytics payloads, or public JSON"
                },
    "freshness":  {
                      "packageRefreshHours":  12,
                      "appConfigMaxAgeSeconds":  600,
                      "platformHealthRefreshMinutes":  15,
                      "resourceManifestRefreshHours":  12,
                      "staleWarningAfterHours":  24,
                      "forceRefreshAfterHours":  72,
                      "keepLastKnownGoodOnFailure":  true,
                      "replaceDocumentsAtomically":  true
                  },
    "clientRules":  {
                        "validateSha256BeforeReplacingCachedDocuments":  true,
                        "keepLastKnownGoodPublicDocuments":  true,
                        "showOfflineDataAge":  true,
                        "neverCachePrivateCaseData":  true,
                        "neverCacheContactSubmissions":  true,
                        "neverCacheAuthenticatedResponses":  true,
                        "treatCrisisSafetyAsOnlinePreferred":  true,
                        "purgeLocalPublicCacheWhenPackageHashChanges":  false,
                        "replaceChangedDocumentsOnly":  true,
                        "allowRevisionQueryOnPublicContracts":  true,
                        "useWebContactWhenOffline":  false
                    },
    "liveProbes":  [
                       {
                           "id":  "public-home",
                           "url":  "https://openacai.com/",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=600, stale-while-revalidate=86400",
                           "cfCacheStatus":  "HIT",
                           "etag":  "",
                           "lastModified":  "Tue, 07 Jul 2026 18:59:02 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "resources-json",
                           "url":  "https://openacai.com/resources.json",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=900, stale-while-revalidate=86400",
                           "cfCacheStatus":  "HIT",
                           "etag":  "\"4dfb50e3abfc76c4524674326beff6a02fac43df240d1dbbbf7a74ba9ee52aba\"",
                           "lastModified":  "Tue, 07 Jul 2026 18:49:02 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "forms-json",
                           "url":  "https://openacai.com/forms.json",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=900, stale-while-revalidate=86400",
                           "cfCacheStatus":  "HIT",
                           "etag":  "\"5d1dd33bd1957b51eaf8ffd3d08f6b3c59b457d0c74a789ebf261a6df7e23d07\"",
                           "lastModified":  "Tue, 07 Jul 2026 18:52:30 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "api-forms",
                           "url":  "https://openacai.com/api/forms",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=900, stale-while-revalidate=86400",
                           "cfCacheStatus":  "HIT",
                           "etag":  "\"5d1dd33bd1957b51eaf8ffd3d08f6b3c59b457d0c74a789ebf261a6df7e23d07\"",
                           "lastModified":  "Tue, 07 Jul 2026 18:52:30 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "contact",
                           "url":  "https://openacai.com/contact/",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "no-store",
                           "cacheControl":  "no-store, no-cache, must-revalidate, max-age=0",
                           "cfCacheStatus":  "DYNAMIC",
                           "etag":  "",
                           "lastModified":  "",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "mobile-package",
                           "url":  "https://openacai.ong/.well-known/openacai-mobile-package.json",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "no-cache",
                           "cacheControl":  "no-cache, must-revalidate, max-age=0",
                           "cfCacheStatus":  "REVALIDATED",
                           "etag":  "\"af271a4f4f099cbc32e22eb3cf33a0b3b03a570173bad363b851b96201dba6e5\"",
                           "lastModified":  "Tue, 07 Jul 2026 18:54:27 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "app-config",
                           "url":  "https://openacai.ong/.well-known/openacai-app-config.json",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=600, stale-while-revalidate=3600",
                           "cfCacheStatus":  "MISS",
                           "etag":  "",
                           "lastModified":  "Tue, 07 Jul 2026 18:59:12 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "app-config-revision-query",
                           "url":  "https://openacai.ong/.well-known/openacai-app-config.json?packageRevision=cache-policy-probe",
                           "required":  true,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=600, stale-while-revalidate=3600",
                           "cfCacheStatus":  "MISS",
                           "etag":  "",
                           "lastModified":  "Tue, 07 Jul 2026 18:59:12 GMT",
                           "matchesPolicy":  true
                       },
                       {
                           "id":  "platform-health",
                           "url":  "https://openacai.ong/.well-known/openacai-platform-health.json",
                           "required":  false,
                           "status":  200,
                           "ok":  true,
                           "expectedCache":  "public",
                           "cacheControl":  "public, max-age=120, s-maxage=600, stale-while-revalidate=3600",
                           "cfCacheStatus":  "MISS",
                           "etag":  "",
                           "lastModified":  "Tue, 07 Jul 2026 18:59:12 GMT",
                           "matchesPolicy":  true
                       }
                   ],
    "privacy":  {
                    "publicOnly":  true,
                    "containsSecrets":  false,
                    "containsPrivateCaseData":  false,
                    "containsHelpSeekerMessages":  false,
                    "safeForDeviceCache":  true
                }
}