FusionCache offers two ways to remove cache entries: expire and remove. The remove method directly deletes the entry, while expire marks it as stale but keeps it available as a fallback. When fail-safe is enabled, expire allows subsequent requests to fall back to the stale value if the factory method throws an exception, providing resilience. When fail-safe is not enabled, expire behaves like remove.

1m watch time

Sort: