Added sidebar template caching