Exclude cookies from cache for non logged users
-
Hi,
I’m using this trick you told me about to exclude some cookies from cache$loggedInUser = “RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_|wp_woocommerce_session|my_custom_curr|my_custom_curr_pos|my_custom_curr_symbol|my_custom_curr_coef|my_custom_curr_cur_post).*$”.”\n”;
This works just fine when i’m logged in.But when i’m not logged in the cookies remains in cache. I think this behavior happens after the latest wordpress update.
Do i have to change somewhere else in the code for non logged users ?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Exclude cookies from cache for non logged users’ is closed to new replies.