Changed default content type to text/html
Updated cache interface