cancel
Showing results for 
Search instead for 
Did you mean: 

Cache miss on first request, CloudFront full page cache

SOLVED

Cache miss on first request, CloudFront full page cache

Hello,

I'm trying to set CloudFront to cache everything, not only changing skin, js, media urls in admin panel.

 

It seems like every page request passing frontend cookie, and response with new cache only for that user, even that page was cached already for some another.

 

I see that issue is similar with Turpentine and Varnish, but I don't understand how to bypass it, to back all.

 

I don't want to cache html because cart icon, only static files because these files are the same for all users, and because that I want to avoid caching by cookie for every visitor specially.

 

Does someone set full page cache with CloudFront?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Cache miss on first request, CloudFront full page cache

Sorry.... just after posting this question, I figured that I need to set behaviors separately for /js/* /skin/* and /media/* to not passing cookies

 

View solution in original post

1 REPLY 1

Re: Cache miss on first request, CloudFront full page cache

Sorry.... just after posting this question, I figured that I need to set behaviors separately for /js/* /skin/* and /media/* to not passing cookies