impress/src/server
Matchu 5a91dd2f2a in-memory cache for modeling query
I'm using my first ever MySQL Store Procedure for clever cleverness in caching the modeling query!

I realized that checking for the latest contribution timestamp is a pretty reliable way of deciding when modeling data was last updated at all. If that timestamp hasn't changed, we can reuse the results!

I figured that, because query roundtrips are a bottleneck in this environment, I didn't want to make that query separately. So, I built a MySQL procedure to do the check on the database side!
2020-09-06 15:49:08 -07:00
..
__snapshots__ simplify validPetPoses out of the server directory 2020-09-06 00:40:00 -07:00
lib add isCommonlyUsedByItems to Zone 2020-09-01 01:16:30 -07:00
query-tests in-memory cache for modeling query 2020-09-06 15:49:08 -07:00
types add GQL endpoint for items that need models 2020-09-06 02:50:04 -07:00
db.js in-memory cache for modeling query 2020-09-06 15:49:08 -07:00
index.js refactor GQL typedefs/resolvers into separate files 2020-09-06 02:11:22 -07:00
loaders.js in-memory cache for modeling query 2020-09-06 15:49:08 -07:00
util.js refactor GQL typedefs/resolvers into separate files 2020-09-06 02:11:22 -07:00
util.test.js add snapshot tests for loadBodyName 2020-08-21 16:22:16 -07:00