Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:lscwp:handle-cookie-vary [2018/10/08 15:02] Eric Leu |
litespeed_wiki:cache:lscwp:handle-cookie-vary [2018/10/08 15:03] Eric Leu [cache vary rewrite rules] |
||
---|---|---|---|
Line 15: | Line 15: | ||
RewriteRule .* - [E=Cache-Vary:woocommerce_products_per_page] | RewriteRule .* - [E=Cache-Vary:woocommerce_products_per_page] | ||
</IfModule> | </IfModule> | ||
- | When user visit woocommerce site with ''woocommerce_products_per_page=xxxxxx''cookie will be created. Using the rewrite rule above, the cache will vary on that cookie. This means the cache will store two copies: one that shows the yellow bar at the bottom, and one that does not. | + | When user visit woocommerce site with ''woocommerce_products_per_page=xxxxxx''cookie will be created. Using the rewrite rule above, the cache will vary on that cookie. This means the cache will store two copies. |