Skip to content

Commit

Permalink
FORMS-1677: add user caching
Browse files Browse the repository at this point in the history
To reduce the number of hits to the db for user (login user and current user) add a caching layer.

Signed-off-by: Jason Sherman <[email protected]>
  • Loading branch information
usingtechnology committed Jan 14, 2025
1 parent 4b48a6c commit 9de9225
Show file tree
Hide file tree
Showing 8 changed files with 628 additions and 29 deletions.
183 changes: 183 additions & 0 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
"axios-oauth-client": "^2.2.0",
"axios-token-interceptor": "^0.2.0",
"bytes": "^3.1.2",
"cache-manager": "^6.3.2",
"cacheable": "^1.8.7",
"compression": "^1.7.4",
"config": "^3.3.9",
"cors": "^2.8.5",
Expand All @@ -69,6 +71,7 @@
"jose": "^5.2.2",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^9.0.0",
"keyv": "^5.2.3",
"knex": "^2.4.2",
"lodash": "^4.17.21",
"mime-types": "^2.1.35",
Expand All @@ -77,6 +80,7 @@
"nats": "^2.28.0",
"nats.ws": "^1.29.2",
"nested-objects-util": "^1.1.2",
"node-object-hash": "^3.1.1",
"objection": "^3.0.1",
"pg": "^8.10.0",
"uuid": "^8.3.2",
Expand Down
Loading

0 comments on commit 9de9225

Please sign in to comment.