added cache criteria configuration for templates
remove device specific template generation as it's not needed anymore