...
- Clone the git repository in your computer (git@github.com:TheIdentitySelector/thiss-ops.git)
- Open cosmosOpen cosmos-rules.yaml, check the 'max-age' under 'cache_control'. If the current max age is 1 hour, you need to change it to zero, 1 hour before the deployment. If it is one day, you need to change it to zero exactly 1 day before. We need to do it so the browsers old cache gets cleared and new files are requested from Fastly during the deployment.
- Log into Fastly management web GUI https://manage.fastly.com/ and purge all cache for the service 'use.thiss.io'
- Wait as long as the old 'max-age' and then proceed to the next step. Befor you do that, you can check in the 'developer tools' of your browser (e.g. Chrome, Firefox) that the old cache has been cleared and the new files have max-age=0 in their response header now.**screenshot**
- Update the ds_version under thiss::static.
...