在AWS CloudFront后面缓存WordPress站点的wp内容

时间:2017-06-14 21:53:41

标签: wordpress amazon-web-services amazon-cloudfront

我基本上有这个工作。有CloudFront分配,缓存行为和途径53 A记录配置为指向CloudFront。

问题是/ wp-content / *中的所有内容都没有被缓存。我认为设置不正确:

Viewer Protocol Policy: HTTP and HTTPS
Allowed HTTP Methods: Get, Head, Options, Put, Post, Patch, Delete
Cached HTTP Methods: Check Options
Forward Headers: Whitelist
Whitelist Headers: Host and Origin
Object Caching: Custom
Minimum TTL: 604800
Forward Cookies: None
Query String Forwarding and Caching: Forward all, cache based on all
Smooth Streaming: No
Restrict Viewer Access: No
Compress Objects Automatically: Yes 

Here是我的一些笔记。

0 个答案:

没有答案