Cache

The cache in Joomla is a temporary storage that holds fully generated pages or content. This means frequently accessed pages don’t have to be rebuilt each time, which improves performance.

  • Function and Purpose

    With the cache enabled, page content is generated once and then stored for a defined period. On subsequent requests, Joomla serves the cached data instead of rebuilding the content from scratch. This reduces database queries and CPU load.

    Types of Cache

    • Page Cache: Stores complete page views.
    • Module Cache: Caches individual modules or output areas.
    • Browser Cache: Additionally, the browser cache is used to store static files like CSS or JavaScript.

    Management and Clearing

    Cache settings can be configured in the Global Configuration under “System.” Use System → Clear Cache to clear the cache manually. You can set up automatic cache clearings in Scheduled Tasks.

    Important Notes

    • Freshness: After changes to templates or content, clear the cache to see updates immediately.
    • Debugging: Temporarily disable the cache if you encounter display or functionality issues.
    • Performance: Using the cache is especially beneficial for high-traffic sites.

    See also