template filters, cache generator wrapper