# cloudfront ## CachingOptimized ## CachingOptimizedForUncompressedObjects 最小化緩存中的值來優化緩存的效率,不包含查詢字符(不管你給他甚麼東西,他都給你同一個值)、標題或cookie,與上一個差不多,但它禁用緩存壓縮 Policy settings Minimum TTL: 1 second Maximum TTL: 31,536,000 seconds (365 days) Default TTL: 86,400 seconds (24 hours) Headers included in the cache key: None ## CachingDisabled 禁用緩存,對於動態內容與不可緩存很有效 Policy settings Minimum TTL: 0 seconds Maximum TTL: 0 seconds Default TTL: 0 seconds Headers included in the cache key: None ## Elemental-MediaPackage just for AWS Elemental MediaPackage Minimum TTL: 0 seconds Maximum TTL: 31,536,000 seconds (365 days) Default TTL: 86,400 seconds (24 hours) Headers included in the cache key: Origin ## Amplify just for Amplify Policy settings Minimum TTL: 2 seconds Maximum TTL: 600 seconds (10 minutes) Default TTL: 2 seconds Headers included in cache key: Authorization CloudFront-Viewer-Country Host ###### tags: `許良宏`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up