Please enable JavaScript.
Coggle requires JavaScript to display documents.
CloudFront Basic concept, CloudFront, CloudFront vs S3 CRR - Coggle Diagram
CloudFront Basic concept
-
-
CloudFront Policies
-
Origin Request Policy
Specify values that you want to include in origin requests without including them in the Cache Key (No duplicated cached content)
- HTTP headers: None - Whitelist - All viewer headers options
- Cookies: None - Whitelist - All
- Query String: None - Whitelist - All
You have ability to add CloudFront HTTP headers and Custom Headers to an origin request that were not included in the viewer request
CloudFront Caching
-
Cache Key
-
Can enhance the cache key by adding more information: HTTP headers, cookies, query strings
-
-
-
Cache Policy
-
-
-
TTL: (0 second to 1 year) can be set by the origin by using the Cache-Control headers, Expires header
All HTTP headers, cookies and query strings that you include in the Cache Key are automatically included in origin requests
-
-
Cache Behavior
-
-
When adding additional Cache Behaviors, the default Cache Behavior is always the last to be processed
-
CloudFront
-
Signed URL/Cookies
Reasons
-
How long should the URL be valid for:
- shared content: make it short
- private content: last for years
Attach a policy with
-
-
Trusted signers
- Which AWS accounts can create signed URLs
-
-
-
-
-
Pricing
Data tranfer Out
-
-
Request pricing for all HTTP methods (per 10,000)
Price Class
-
Price Class 200: most regions, but excludes the most expensive regions
-
Edge Compute
CloudFront Functions: is serverless scripting platform that allows you to run lightweight JavasScript code at CloudFront Edge locations
-
-
-
-
-
-
-
-