GeniXCMS

Cache Settings

categoryUser Guide edit_calendar31 Mar 2026

Output Caching & Performance Settings


GeniXCMS's built-in Cache Engine significantly reduces your site's load times and server resource consumption by storing previously rendered pages as static files.


🎨 Managing Output Delivery

To configure your site's caching behavior:

  • Navigate to Settings > General in the administrative sidebar.
  • Look for the Caching and Performance configuration blocks.

🏗️ Activating Static Caching

Static file-based caching is a first-class feature that avoids complex database lookups for repeat visitors.

  1. Toggle: Set Enable Caching to "Yes" to start archiving your site's static assets and pages.
  2. Lifetime: Configure how long each cached version remain valid (default: 3600 seconds).
  3. HMR Support: In Dev Mode, caching is automatically bypassed to ensure developers see live changes immediately.

📐 Caching Architecture

Resource Type Cache Strategy
Static Pages Indefinite (Updated only on manual invalidation).
Blog Posts Timed (Automatically invalidated on new comment or edit).
Category Archives Timed (Invalidated on content updates).

🛠️ Security & Management

  • Storage Path: All cached files are archived in the assets/cache/ directory.
  • Manual Invalidation: You can clear the entire system cache through the Settings Dashboard whenever you perform a major update.
  • Access Control: Admins can specify which user levels (e.g., Level 0) have permission to clear the cache.

warning
CautionDisk Space: Large sites with thousands of pages can consume significant storage in the assets/cache/ directory. Monitor your site's storage capacity regularly.

lightbulb
TipPerformance Hint: Combined with Vite asset bundling and a high-performance PHP 8.3/8.4 engine, GeniXCMS's caching results in sub-second page loads.