Modifying cache settings to be enabled only in server.js