Implemented "loaded templates" caching for when a page loads a certain template multiple times