Route: Support cache.

- [x] Code
- [x] Cache cache mode is enabled, make sure this functionality also work.
- [ ] Check with AuthCache module
- [x] Test
- [ ] Update documentation