This adds aggressive maxage and s-maxage headers for CloudFront and includes logic to purge newly-published files from CloudFront's cache using invalidations. It adds two new gulp-* modules - one to handle the CloudFront invalidations and another to handle conditionally setting cache headers based on file extensions.
This adds aggressive
maxage
ands-maxage
headers for CloudFront and includes logic to purge newly-published files from CloudFront's cache using invalidations. It adds two newgulp-*
modules - one to handle the CloudFront invalidations and another to handle conditionally setting cache headers based on file extensions.