OpenWaterFoundation / owf-tstool-aws-plugin

Open Water Foundation AWS plugin for TSTool
GNU General Public License v3.0
0 stars 0 forks source link

AwsS3Catalog - troubleshoot CloudFront caching #7

Closed smalers closed 2 years ago

smalers commented 2 years ago

The commands are working OK but there seems to be issues with CloudFront caching because index.html files are not returned as expected in the deployed website.

smalers commented 2 years ago

The issue seems to be because a lambda function is used to append /index.html to URLs that point to folders. CloudFront caches different variations of the request with and without trailing slash and index.html. I updated the command to invalidate each variation for index.html files. Close this issue.