cache is a simple and great feature that enhances performance.
ComboStrap has two levels of cache:
Anonymous Page Cache
When a page is visited anonymously, an anonymous page is served from the public cache
The parsing and rendering of a page in a different format are cached until some rules are met.
Learn them on this page: Set the cache expiration date of a page with the cache component
With the auto slots cache bursting, the slots are re-rendered in the background when they are stale.
For instance, if a secondary slot becomes stale due to the creation of a page or the modification of a primary metadata such as name, title, the secondary slot is rendered in the background showing up in the next request
Action: If you have any ~~NOCACHE~~ instructions in your slots, just delete them.
The first render is then stale but not the next one.
For images, ComboStrap supports two caches:
- browser cache with the infinite static cache