Performance tuning and basic caching support.

Some performance tuning (almost 2x boost) and basic caching support (`FSCache` still in development).

- [x] Check caches with middleware and `--watch`.