We currently have vary caching working well based on cookies. How ever, we need to split them up between desktop and tablet.
How can we combine this below so that we have a single vary where the cookie exists AND the user is on an ipad?
RewriteCond %{HTTP_USER_AGENT} "iPad" [NC]
RewriteRule .* - [E=Cache-Control:vary=tablet]
RewriteCond %{HTTP_COOKIE} _ls_cache_vary_cookie=customer_zone1 [NC]
RewriteRule .* - [E=Cache-Control:vary=customer_zone1]
Thank you v much.
How can we combine this below so that we have a single vary where the cookie exists AND the user is on an ipad?
RewriteCond %{HTTP_USER_AGENT} "iPad" [NC]
RewriteRule .* - [E=Cache-Control:vary=tablet]
RewriteCond %{HTTP_COOKIE} _ls_cache_vary_cookie=customer_zone1 [NC]
RewriteRule .* - [E=Cache-Control:vary=customer_zone1]
Thank you v much.