Slow loading in dev
cespare opened this issue · comments
Caleb Spare commented
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?
Kevin Le commented
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
Caleb Spare commented
Thanks 👍