Get rid of template caching in resources

This is no longer used anywhere.

Change-Id: I3b320a1668f5ba532b01b289222a56126c19c8aa
Merge "Get rid of template caching in resources"