Skip to content

HTML Cache

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/html-cache
Package slughtml-cache
Product groupCapell Foundation
Tierfree
Bundlefoundation
Runtime contextsadmin, frontend
Capell version^4.0
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.

After install, admins get package-owned management surfaces and public users may see package-owned frontend output or routes.

Status details:

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

For developers: The package gives developers package-owned service providers, Actions, Data objects, models, Filament classes, and Blade views instead of pushing this behaviour into core or application code.

For teams: Serve Capell pages as static HTML for sub-millisecond responses - with automatic, dependency-aware invalidation that keeps cached pages fresh and never leaks gated or authoring content to anonymous visitors.

Screenshot contract: docs/screenshots.json.

  • HTML Cache maintenance cache page (admin, required).
  • Cached model URLs resource index (admin, required).
  • HTML Cache dashboard widgets (admin, required).
  • HTML Cache site health cache map (admin, required).
  • Page table cache indicator (admin, required).
  • Anonymous public cache hit (frontend, required).
  • Static maintenance page output (frontend, required).
  • Service providers: Capell\HtmlCache\Providers\HtmlCacheServiceProvider.
  • Config files: packages/html-cache/config/capell-html-cache.php.
  • Migrations: 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.
  • Models: CachedModelUrl, StaleCachedUrl.
  • Filament classes: PageCachedIconColumn, HasPageCacheNotification, PageCachePageTableExtender, MaintenanceSiteHeaderActionExtender, MaintenanceCachePage, CachedModelUrlResource, ListCachedModelUrls, CachedModelUrlsTable, HtmlCacheDashboardSettingsContributor, CacheCoverageUrlsFilamentWidget, HtmlCacheOverviewFilamentWidget, HtmlCacheStaleQueueFilamentWidget.
  • Livewire components: SiteHealthCacheMap.
  • Actions: BuildCacheMapOverviewAction, BuildCachedModelUrlDiagnosticsAction, BuildHtmlCacheEligibilityReportAction, BuildHtmlCachePublicOutputSafetyDiagnosticsAction, ClearAllHtmlCacheAction, ClearCachedPageUrlsAction, ClearCachedUrlAction, ClearCachedUrlsForModelAction, ClearCachedUrlsForSurrogateKeysAction, BuildHtmlCacheDashboardStatsAction, BuildHtmlCacheStaleQueueRowsAction, BuildHtmlCacheUrlRowsAction, and 14 more.
  • Data objects: CacheMapModelSummaryData, CacheMapOverviewData, CacheMapResourceSummaryData, HtmlCacheDashboardStatsData, HtmlCacheClearResult, HtmlCacheEligibilityReportData.
  • Jobs: RegisterCachedModelUrlsJob.
  • Console command classes: ClearHtmlCacheCommand, DiagnoseHtmlCacheCommand, ProcessStaleHtmlCacheCommand, StaticSiteCommand.
  • Manifest contributions: admin-page: Capell\HtmlCache\Manifest\HtmlCacheAdminPagesContribution, dashboard-widget: Capell\HtmlCache\Manifest\HtmlCacheDashboardFilamentWidgetsContribution, model: Capell\HtmlCache\Manifest\HtmlCacheModelsContribution, route: Capell\HtmlCache\Manifest\HtmlCacheFrontendRoutesContribution, scheduled-job: Capell\HtmlCache\Manifest\HtmlCacheStaleProcessingScheduleContribution.
  • Health checks: Capell\HtmlCache\Health\HtmlCacheHealthCheck.
  • Blade views: packages/html-cache/resources/views/filament/pages/maintenance-cache.blade.php, packages/html-cache/resources/views/livewire/site-health-cache-map.blade.php.
  • Cache tags: html-cache.
  • Models: CachedModelUrl, StaleCachedUrl.
  • 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.
  • Migration impact: run host migrations through the package install flow before opening package surfaces.
  • Deletion/retention behaviour: Docs gap unless the package has an explicit pruning command, retention setting, or tested cascade path.
  • Admin navigation: adds package-owned Filament classes when registered.
  • Permissions: capell-html-cache.view, capell-html-cache.clear.
  • Public routes: none detected in package route files.
  • Database changes: package migrations are declared.
  • Settings: no package settings declared.
  • Queues or schedules: review package jobs or schedules before install.
  • Cache tags: html-cache.
  • Commands: console command classes detected: ClearHtmlCacheCommand, DiagnoseHtmlCacheCommand, ProcessStaleHtmlCacheCommand, StaticSiteCommand.
  • Run migrations before opening package resources or public routes.
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Keep composer.json, composer.local.json, capell.json, docs, screenshots, and tests aligned when the package surface changes.
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 scheduled command is not activeCheck package jobs, commands, and host scheduler configurationStart the queue or 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. Run the required setup: php artisan migrate.
  3. Open the related Capell admin surface and verify HTML Cache appears.