AWS CloudFront の Behavior の設定。サイトに php ファイルがある場合。
| Path Pattern | Default (*) | *.php |
|---|---|---|
| Viewer Protocol Policy | Redirect HTTP to HTTPS | Redirect HTTP to HTTPS | Allowed HTTP Methods | GET, HEAD | GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE |
| Cached HTTP Methods | GET, HEAD | GET, HEAD |
| Cache Based on Selected Request Headers | None (Imrpoves Caching) | None (Improves Caching) |
| Object Caching | Use Origin Cache Headers | Use Origin Cache Headers |
| Minimum TTL | 0 | 0 |
| Maximum TTL | 31536000 | 31536000 |
| Default TTL | 86400 | 86400 |
| Forward Cookies | None (Improves Caching) | All |
| Query String Forwarding and Caching | None (Improves Caching | Forward all, cache based on all |
