RSSEmailTwitterGitHubDribbbleLinkedInFacebookInstagramYouTubeGoogle+Pinterest

Micmik share stuff

$aving money by changing cache control

The more you use caching the less your files are downloaded from the S3 bucket. Bandwidth is money. So you can save money by setting a long age for your objets. 1- Set the property Cache-Control: Edit the file .gitlab-ci.yml, and add the property to your S3 command or like below to the dpl command $ dpl --skip_cleanup --provider=s3 --bucket=$S3_BUCKET --region=$AWS_REGION \ --cache-control='public, max-age=31536000' --local-dir=public/ 2- Clear cache of the CDN You have to got some tool to clear the cache on the CDN side otherwise your updates will be never seen :(