diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-21 10:04:50 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-21 10:04:50 -0600 |
commit | fb905ad53caac427e16a3fe6bb56748070ea69ad (patch) | |
tree | 04c8dc7e66388deeb9f550ca83e8d89bd1a26d4d /srv/src/go.mod | |
parent | 1de0ab3b720cf7b83a7e29de4dbe35c117ccea0e (diff) |
Add in-memory cache to GET requests, purges on successful POSTs
Diffstat (limited to 'srv/src/go.mod')
-rw-r--r-- | srv/src/go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/srv/src/go.mod b/srv/src/go.mod index dd6509d..f65034f 100644 --- a/srv/src/go.mod +++ b/srv/src/go.mod @@ -10,6 +10,7 @@ require ( github.com/google/uuid v1.3.0 github.com/gorilla/feeds v1.1.1 // indirect github.com/gorilla/websocket v1.4.2 + github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/mattn/go-sqlite3 v1.14.8 github.com/mediocregopher/mediocre-go-lib/v2 v2.0.0-beta.0.0.20220506011745-cbeee71cb1ee github.com/mediocregopher/radix/v4 v4.0.0-beta.1.0.20210726230805-d62fa1b2e3cb |