WoltLab/WCF — pull request #1347 by SoftCreatR (2013-06-06 08:40:33+00:00)
Title: Add method setMaxLifetime()

Currently, we can overwrite $maxLifetime within a cache builder. However, it may be necessary in some cases to define the maximum age of a single resource instead of the whole cache.

Example: I have a cache builder to call an external API. The cache builder creates a resource for every (different) call. Now, i would like to reset the resource of a specific call. Atm, i can just reset all resources, created by the cache builder.