Template tag's cache parameter was being ignored