added the header option to enable caching