Fix to include CORS on expires error, and adding nocache header