I spent a few hours on a AWS CloudFront problem, hope someone can save me :D
When i load the site homepage, for every assets i get (on each reload):
X-Cache:Miss from cloudfront
When i try to open an asset in another tab, i then got the correct behavior (miss on first call, then hit on each reload). Same with curl requests.
I reload my home and inspect the same asset, i get:
X-Cache:Hit from cloudfront
with a similar age as in the tab.
Then i reload my homepage and inspect the same element again:
X-Cache:Miss from cloudfront
:'(
And from this point, when i reload the asset in the other tab, i get a miss...
Any idea ?
Thanks,
Jérémy
Aucun commentaire:
Enregistrer un commentaire