1 Message

 • 

70 Points

Thursday, February 5th, 2026

Increasing Cache lifetimes

Is there a way in websitebuilder to increase Cache Lifetimes?

Oldest First
Selected Oldest First

2.6K Messages

 • 

26.3K Points

2 hours ago

According to google:

Yes, you can increase cache lifetimes in website builders like WordPress, Wix, and others to improve site speed by reducing server load and browser requests. Methods include using caching plugins (e.g., LiteSpeed CacheSpeedyCache), adjusting server-level settings (e.g., NGINX in Cloudways), or modifying {Link: .htaccess file https://www.siteground.com/kb/how-to-leverage-browser-caching/}
Methods to Increase Cache Lifetimes:
  • WordPress Plugins: Use plugins like LiteSpeed Cache to set Browser Cache TTL (Time To Live) to 6 months or 1 year.
  • Wix Settings: Navigate to Page Settings, then Advanced Settings to manually control and extend cache lifetimes for individual pages.
  • Server Configuration (NGINX/Apache):
    • NGINX: Adjust static cache expiry in server settings (e.g., 30 days or more).
    • Apache: Add ExpiresByType directives to the .htaccess file for specific file types (e.g., fonts, images).
  • CDN/Edge Caching: Configure services like Cloudflare to cache static content for longer durations. 
Recommended Cache Lifetimes:
  • Static Assets (Images, CSS, JS): 1 month to 1 year.
  • Public Pages: 1 hour to 2 weeks, depending on update frequency.
  • Short-lived Data: 30 seconds to 1 hour. 
Increasing cache lifetimes helps by ensuring browsers store assets longer, reducing the number of requests to the server.