impress-2020/src
Matchu a3423cd6d6 cache asset manifests in the db
Here's just some simple caching: we try to load the asset manifest from the db with the rest of the asset. If it's not present, we load it via HTTP, and write it to the database.

I might try to do a bulk write of manifests at some point, too.

This is because I noticed that one of the main bottlenecks in most of the endpoints now (and definitely the highest-variance) was loading from images.neopets.com.

Another approach I considered was HTTP/2 to load the manifests, because it kinda looks like the server is refusing to open all these sockets at once and effectively does the requests in waves? But images.neopets.com doesn't support HTTP/2 right now anyway, so oh well! (And that would have probably cut us down to ~250ms of HTTP time still, instead of ~600–700. Also, why is network out of Vercel so slow? :p)
2020-08-17 17:50:01 -07:00
..
app rename item "DTI ID" to "Item ID" 2020-08-14 22:11:04 -07:00
images optimize homepage splash: resize, crush, srcset 2020-05-23 13:59:56 -07:00
server cache asset manifests in the db 2020-08-17 17:50:01 -07:00
index.js inline index.css, omit unused fonts, preload hints 2020-05-18 00:56:46 -07:00