[contest] add HTTP caching middleware