Fix caching bug in footer