cache fix on template requests