bkad / prat

group chat with markdown served over websockets
11 stars 6 forks source link

Slow loading in dev #80

Closed cespare closed 11 years ago

cespare commented 11 years ago

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?

bkad commented 11 years ago

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

bkad commented 11 years ago

fixed in ad5f523310cf3d9d58efda2e8e5a37d4ea1b187d

cespare commented 11 years ago

Thanks :+1: