1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-21 02:45:59 +00:00

add Cache304 as an alternative to the server-side kataras/iris/cache middleware - it can perform better with less server overheat but it comes with a cost of 304 instead of 200 so custom clients must make that check

Former-commit-id: b0ba68c528c870fe060e2825c35689771a1d3680
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-01-25 16:19:45 +02:00
parent befb1f0c08
commit 969c2e87d4
8 changed files with 140 additions and 30 deletions

View File

@@ -382,6 +382,7 @@ The `httptest` package is your way for end-to-end HTTP testing, it uses the http
iris cache library lives on its own [package](https://github.com/kataras/iris/tree/master/cache).
- [Simple](cache/simple/main.go)
- [Client-Side (304)](cache/client-side/main.go) - part of the iris context core
> You're free to use your own favourite caching package if you'd like so.