Flask extension to implement fragment caching