bkad / prat

group chat with markdown served over websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slow loading in dev

cespare opened this issue · comments

Prat takes 5-6 seconds to completely load when running locally (compared with 2-3 seconds in production). This is probably due to the many separate javascript files, but maybe other things as well.

This isn't a huge problem, but it does make testing JS changes a bit more cumbersome. Is there any way to speed this up at all? Maybe we can do better caching of the JS?

i think i wrote a bug in the dynamic assets compiling that causes it to dump the cache after every request, i'll fix it

fixed in ad5f523

Thanks 👍