Skip to content

HTML Cache

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/html-cache
Package slughtml-cache
Product groupCapell Foundation
Tierfree
Bundlefoundation
Runtime contextsadmin, frontend
Capell version^1.0
Catalogue roleextension
Release channelReleased
Source repositorycapell-app/packages
Source pathpackages/html-cache
Docs sourcepackages/html-cache/docs
Manifestcapell.json

HTML Cache is an Available, Schema-owning Capell package in the Capell Foundation product group. It ships as capell-app/html-cache and extends these surfaces: admin, frontend.

Full-page static HTML cache for Capell with dependency-indexed invalidation, scheduled stale-regeneration, and public-output safety guarantees. It stores full public HTML responses, indexes their model dependencies, and supports immediate or scheduled stale regeneration.

Administrators inspect coverage, dependency maps, and stale work, then clear, warm, or regenerate cached pages. Anonymous visitors receive cached public HTML without authoring markers or session cookies.

Status details:

  • Status: Available
  • Tier: free
  • Bundle: foundation
  • Composer package: capell-app/html-cache
  • Namespace: Capell\HtmlCache
  • Theme key: not applicable

For developers: Middleware eligibility rules and dependency-indexed Actions keep cache writes, invalidation, stale claims, and atomic refresh behavior explicit and testable.

For teams: Teams can see whether important URLs are cached, recover from stale output, and diagnose unsupported node-local multi-node deployments without weakening the rule that admin and authoring details stay out of public files.

Screenshot contract: docs/screenshots.json.

HTML Cache maintenance cache page

Cached model URLs resource index

  • HTML Cache maintenance cache page (admin, required evidence).
  • Cached model URLs resource index (admin, supplementary evidence).
  • HTML Cache dashboard widgets (admin, supplementary evidence).
  • HTML Cache site health cache map (admin, supplementary evidence).
  • Page table cache indicator (admin, supplementary evidence).
  • Anonymous public cache hit (frontend, supplementary evidence).
  • Public maintenance page (frontend, supplementary evidence).
  • HTML Cache maintenance cache page with admin sidebar menu open (admin, supplementary evidence).
  • Cloudflare anonymous public HTML cache rule (admin, supplementary evidence).
  • Cloudflare cache rule activation (admin, supplementary evidence).
  • Cloudflare Edge TTL and Browser TTL settings (admin, supplementary evidence).
  • Capell\HtmlCache\Providers\HtmlCacheServiceProvider
  • packages/html-cache/config/capell-html-cache.php
  • packages/html-cache/database/migrations/2026_05_10_190854_01_create_cached_model_urls_table.php
  • packages/html-cache/database/migrations/2026_05_14_000001_create_stale_cached_urls_table.php
  • packages/html-cache/database/migrations/2026_06_07_000001_add_telemetry_to_cached_model_urls_table.php
  • packages/html-cache/database/migrations/2026_07_18_000001_create_html_cache_generation_runs_table.php
  • packages/html-cache/database/migrations/2026_08_22_000001_add_scope_to_html_cache_generation_runs_table.php
  • CachedModelUrl
  • HtmlCacheGenerationRun
  • StaleCachedUrl
  • PageCachedIconColumn
  • HasPageCacheNotification
  • PageCachePageTableExtender
  • MaintenanceSiteHeaderActionExtender
  • MaintenanceCachePage
  • UncachedPagesPage
  • CachedModelUrlResource
  • ListCachedModelUrls
  • CachedModelUrlsTable
  • HtmlCacheDashboardSettingsContributor
  • CacheCoverageUrlsFilamentWidget
  • HtmlCacheOverviewFilamentWidget
  • HtmlCacheStaleQueueFilamentWidget
  • SiteHealthCacheMap
  • CachePurger
  • PageCacheNotifiable
  • AssertHtmlCacheInvalidationTopologyAction
  • BuildCacheMapOverviewAction
  • BuildCachedModelUrlDiagnosticsAction
  • BuildHtmlCacheEligibilityReportAction
  • BuildHtmlCacheOriginDecisionAction
  • BuildHtmlCachePublicOutputSafetyDiagnosticsAction
  • BuildMaintenanceCacheOverviewAction
  • BuildUncachedPagesAction
  • CanClearHtmlCachePortCopyAction
  • ClaimStaleCachedUrlAction
  • ClearAllHtmlCacheAction
  • ClearCachedPageUrlsAction
  • ClearCachedUrlAction
  • ClearCachedUrlsForModelAction
  • ClearCachedUrlsForSurrogateKeysAction
  • BuildHtmlCacheDashboardStatsAction
  • BuildHtmlCacheStaleQueueRowsAction
  • BuildHtmlCacheUrlRowsAction
  • DeleteCachedUrlArtefactsAction
  • DeletePageCacheAction
  • DisableGlobalMaintenanceAction
  • DisableSiteMaintenanceOverrideAction
  • EnableGlobalMaintenanceAction
  • EnableSiteMaintenanceOverrideAction
  • EnsureHtmlCachePermissionsAction
  • ForgetCachedUrlAction
  • GenerateStaticSiteAction
  • GenerateStaticSitesAction
  • InspectEdgeCachePurgeReadinessAction
  • ListCacheMapResourceOptionsAction
  • MarkAllCachedUrlsStaleAction
  • MarkCachedUrlStaleAction
  • MarkCachedUrlsForModelStaleAction
  • MarkCachedUrlsForSiteStaleAction
  • NotifyClearCachedPagesAction
  • PlanEditorHtmlCacheConsequencesAction
  • PrepareMaintenanceCacheAction
  • PrepareSiteMaintenanceCacheAction
  • ProcessStaleHtmlCacheAction
  • PruneHtmlCacheMetadataAction
  • PurgeEdgeCacheAction
  • QueueMaintenancePageGenerationAction
  • RecordCachedModelUrlsAction
  • RecordHtmlCacheHitAction
  • RefreshCachedUrlAtomicallyAction
  • RefreshOriginStaleCachedUrlAction
  • RenderCoalescedHtmlCacheMissAction
  • ResolveCachedUrlsForModelAction
  • ResolveCachedUrlsForSurrogateKeysAction
  • ResolveEdgeCacheTagsAction
  • RetireCachedUrlAction
  • ScheduleOriginStaleCachedUrlRefreshAction
  • SelectStaleHtmlCacheCandidatesAction
  • WriteRefreshedHtmlCacheFileAction
  • CacheMapModelSummaryData
  • CacheMapOverviewData
  • CacheMapResourceSummaryData
  • HtmlCacheDashboardStatsData
  • EdgeCachePurgeData
  • EdgeCachePurgeReadinessData
  • HtmlCacheClearResult
  • HtmlCacheEligibilityReportData
  • HtmlCacheHitBatchData
  • HtmlCacheOriginDecisionData
  • MaintenanceCacheDomainData
  • MaintenanceCacheOverviewData
  • MaintenanceSiteStatusData
  • StaleHtmlCacheProcessResultData
  • UncachedPageData
  • UncachedPagesData
  • FlushHtmlCacheHitBatchJob
  • GenerateMaintenancePagesJob
  • RefreshOriginStaleCachedUrlJob
  • RegisterCachedModelUrlsJob
  • capell:html-cache:clear
  • capell:html-cache:diagnose
  • capell:html-cache:edge-purge:verify
  • capell:html-cache:process-stale
  • capell:static-site
  • capell:html-cache:process-stale (package registered)
  • ClearHtmlCacheCommand
  • DiagnoseHtmlCacheCommand
  • ProcessStaleHtmlCacheCommand
  • StaticSiteCommand
  • VerifyEdgeCachePurgeCommand
  • admin-page: Capell\HtmlCache\Manifest\HtmlCacheAdminPagesContribution
  • admin-resource: Capell\HtmlCache\Manifest\HtmlCacheAdminResourcesContribution
  • console-command: Capell\HtmlCache\Manifest\HtmlCacheConsoleCommandsContribution
  • dashboard-widget: Capell\HtmlCache\Manifest\HtmlCacheDashboardFilamentWidgetsContribution
  • model: Capell\HtmlCache\Manifest\HtmlCacheModelsContribution
  • route: Capell\HtmlCache\Manifest\HtmlCacheFrontendRoutesContribution
  • scheduled-job: Capell\HtmlCache\Manifest\HtmlCacheStaleProcessingScheduleContribution
  • Capell\HtmlCache\Health\HtmlCacheHealthCheck
  • packages/html-cache/resources/views/filament/pages/maintenance-cache.blade.php
  • packages/html-cache/resources/views/filament/pages/partials/uncached-pages-table.blade.php
  • packages/html-cache/resources/views/filament/pages/uncached-pages.blade.php
  • packages/html-cache/resources/views/livewire/site-health-cache-map.blade.php
  • html-cache
  • Required tables: cached_model_urls, html_cache_generation_runs, stale_cached_urls.
  • Models: CachedModelUrl, HtmlCacheGenerationRun, StaleCachedUrl.
  • Core record references in migrations: sites via site_id, languages via language_id, site domains via site_domain_id.
  • Migration files: 2026_05_10_190854_01_create_cached_model_urls_table.php, 2026_05_14_000001_create_stale_cached_urls_table.php, 2026_06_07_000001_add_telemetry_to_cached_model_urls_table.php, 2026_07_18_000001_create_html_cache_generation_runs_table.php, 2026_08_22_000001_add_scope_to_html_cache_generation_runs_table.php.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: migrations declare null-on-delete relationships; no timed pruning or retention schedule is declared in capell.json.
  • Required packages: capell-app/admin, capell-app/core, capell-app/discovery-foundation, capell-app/frontend.
  • Admin navigation: declares admin-page: HtmlCacheAdminPagesContribution, admin-resource: HtmlCacheAdminResourcesContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: dashboard-widget: HtmlCacheDashboardFilamentWidgetsContribution.
  • Permissions: capell-html-cache.view, capell-html-cache.clear, capell-html-cache.maintenance.manage.
  • Public routes: registers HtmlCacheFrontendRoutesContribution.
  • Database changes: package migrations are declared.
  • Config: config/capell-html-cache.php.
  • Settings: no package settings declared.
  • Queues or schedules: scheduled commands capell:html-cache:process-stale (package registered); queue jobs FlushHtmlCacheHitBatchJob, GenerateMaintenancePagesJob, RefreshOriginStaleCachedUrlJob, RegisterCachedModelUrlsJob.
  • Cache tags: html-cache.
  • Commands: capell:html-cache:clear, capell:html-cache:diagnose, capell:html-cache:edge-purge:verify, capell:html-cache:process-stale, capell:static-site.
  • Keep required Capell packages on compatible v4 releases: capell-app/admin, capell-app/core, capell-app/discovery-foundation, capell-app/frontend.
  • Run migrations before opening package resources or public routes.
  • Review package configuration before production-like verification: config/capell-html-cache.php.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: capell:html-cache:process-stale (package registered).
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for html-cache cache tags.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests
  1. Install the package: composer require capell-app/html-cache.
  2. Open the package admin surface at /admin/html-cache/maintenance-cache and confirm HTML Cache is available.