Closed smalers closed 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.
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.