ATStatus
ATStatus WikiLoading documentation...

Cache Management

ATStatus uses caching to improve performance and reduce database load.

What is Cached?

ATStatus caches frequently-accessed data like component statuses, status page settings, and public page content. This makes your status page load faster for visitors.

Accessing Cache Settings

1

Log in to Admin Panel

Access your admin dashboard

2

Navigate to Cache

Find Cache in the sidebar

3

View Statistics

See cache stats and controls

Cache Statistics

Cache Size

Total size of cached data

Cache Entries

Number of items currently cached

Hit Rate

Percentage of requests served from cache

Last Cleared

When the cache was last fully cleared

Clearing the Cache

Clear All Cache

1

Go to Cache

Navigate to Cache in admin panel

2

Click Clear All Cache

Click the button to clear

3

Confirm Action

Confirm the clear operation

Temporary Performance Impact

After clearing the cache, the first few page loads will be slower as the cache rebuilds. This is normal and performance will return to normal quickly.

Clear Specific Cache

Page Cache

Clears rendered page content

Data Cache

Clears database query results

API Cache

Clears API response cache

When to Clear Cache

  • Changes don't appear on the public status page
  • You've made significant configuration changes
  • You're troubleshooting display issues
  • After restoring from a backup

Automatic Cache Invalidation

In most cases, ATStatus automatically invalidates relevant cache entries when you make changes through the admin panel. Manual cache clearing is rarely needed for day-to-day operations.

Cache Configuration

VariableDefaultDescription
CACHE_TTL300Cache time-to-live in seconds
CACHE_ENABLEDtrueEnable or disable caching

Best Practices

  • Don't clear cache unnecessarily - it helps performance
  • Use specific cache clears over 'Clear All' when possible
  • Monitor cache hit rates regularly
  • Keep default TTL unless you have specific needs