Hi!
Thank you for your first feedback to this plugin! We apreciate it a lot!
In regards to your question. You should look at cache invalidation an action taken by Amazon to clear the cache of one or more assets (pages, images etc.) on all it’s international nodes. I presume that this process is costly and that it is the reason why they provide a limited monthly budget of 1000 invalidations and charge $0.005 USD per invalidation (a path charged as 1 invalidation could match multiple pages using a wildcard, e.g. /*
for all pages or /category/*
for pages in a category).
More information can be found in the documentation: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
Dynamic content caching based on cookies
In regards to support for dynamic content based on cookies, e.g. a logged in user cookie, that is possible. CloudFront provides options to fine grain caching behavior using advanced settings. It is possible to cache based on cookies, HTTP headers and query strings so that it supports selectively caching of dynamic
content for the same page URLs. There are no extra costs for this feature.
