1
0
mirror of https://github.com/kataras/iris.git synced 2026-02-09 04:05:56 +00:00

improve cache handler, embracing #2210 too

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-09-26 21:14:57 +03:00
parent d03757b996
commit 28f49cd50d
17 changed files with 381 additions and 216 deletions

View File

@@ -23,6 +23,14 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene
Changes apply to `main` branch.
- The `cache` sub-package has an update, after 4 years:
- Add support for custom storage on `cache` package, through the `Handler#Store` method.
- Add support for custom expiration duration on `cache` package, trough the `Handler#MaxAge` method.
- Improve the overral performance of the `cache` package.
- The `cache.Handler` input and output arguments remain as it is.
- The `cache.Cache` input argument changed from `time.Duration` to `func(iris.Context) time.Duration`.
# Mon, 25 Sep 2023 | v12.2.7
Minor bug fixes and support of multiple `block` and `define` directives in multiple layouts and templates in the `Blocks` view engine.