gitweb: Add optional output caching