- writing and reading from the file system is much slower than the process's memory - [writing to the filesystem in sync](https://github.com/aeternity/superhero-avatars/blob/7b6587be573f22bec1070dea914e2d036bb77791/server/routes/users.js#L17) block handling of other requests until the writing is complete - if caching is necessary I would suggest storing image cache in memory using something like [_.memoize](https://lodash.com/docs/4.17.15#memoize) or just to use caching on the level of nginx