Infinite Static Cache: Cache Image, Javascript and Stylesheet for an infinite amount of time

Cache

ComboStrap - Infinite Static Cache

About

infinite static cache is a cache functionality that sends to the browser the below cache instruction:

  • cache all images, css, and javascript library
  • for an infinite amount of time

In reality, the files change but because the URL (ie https://host/my/file) generated are unique:

  • when a file change,
  • its URL change
  • and the browser will ask the new file version.

Support

We support static cache on:

Configuration

staticCacheEnabled

If you want to disable this feature, you can turn it off with the staticCacheEnabled configuration.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Cache
Cache Management

All the caches are explained in this page, from pages to images
Page Speed Performance
What makes the ComboStrap performance so fast?

This article explains the secret sauce of the ComboStrap performance and what you should avoid in order to not degrade it.



Task Runner