I am starting to use Cloudflare with Amazon S3 storage, and I think I have everything setup correctly, but I can not make Cloudflare to cache my static page properly.
Here is my setup, on Amazon S3:
- Marked all the files with meta “Content-Type” : “max-age=604800” (around a week in seconds)
- Caching Level: Standard
- Browse Cache TTL: 8 days
- Page Rules: marti.works/* Cache Level: Cache Everything (as the first rule)
With this setup, and knowing that the page content does not change over time, it only contains static HTML, CSS, and some images (PNG, SVG, …), also knowing that the whole page is about ~7MB in size. Accordingly to the Cloudflare overview:
- Unique visitors: 367
- Total requests: 3,609
- Percent Cached: ~53.69%
- Total Data Served: 38MB
- Data Cached: 21MB
What I am missing ?
Thanks for the help and time!