sourfew
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] No cache for logged in usersQARNFNKW
The no cache cookie section is autogenerated and I can’t get rid of it. Even if I remove .htaccess it will reappear.
My WordPress files is in a subfolder but I have specified lscache to look for .htaccess in /
I have cloned my prod site to run on a subdomain but only in subfolder (start page in /subfolder) and in that setup private cache is working fine.
I’am also using advanced ads that have a cache busting feature but it doesn’t matter if that is turned on or off. I don’t think I can use that feature together with lscache
Forum: Plugins
In reply to: [LiteSpeed Cache] No cache for logged in usersI have this in .htaccess. If I comment out it works in Safari but not in Chrome for some reason. If I delete all of the lscache section the no cache section appears again.
### marker NOCACHE COOKIES start ###
RewriteCond %{HTTP_COOKIE} wordpress_logged_in
RewriteRule .* – [E=Cache-Control:no-cache]
### marker NOCACHE COOKIES end ###
Forum: Plugins
In reply to: [LiteSpeed Cache] No cache for logged in usersHere is the output from /test both logged in an not logged in.
# Not logged in
06/02/23 14:24:44.352 [90.227.xxx.xxx:52128 1 Zkj] π ——GET HTTP/1.1 (HTTPS) /test
06/02/23 14:24:44.352 [90.227.xxx.xxx:52128 1 Zkj] Query String:
06/02/23 14:24:44.352 [90.227.xxx.xxx:52128 1 Zkj] Cookie lscache_vary: 0e7e48ec9689163c76ee1f3f00de1186 06/02/23 14:24:44.699 [90.227.xxx.xxx:52128 1 Zkj] [Router] get_role: 06/02/23 14:24:44.700 [90.227.xxx.xxx:52128 1 Zkj] πΊ Suppress default WP lazyload 06/02/23 14:24:44.701 [90.227.xxx.xxx:52128 1 Zkj] [Optm] init 06/02/23 14:24:44.841 [90.227.xxx.xxx:52128 1 Zkj] [Ctrl] X Cache_control TTL -> 3600 06/02/23 14:24:44.842 [90.227.xxx.xxx:52128 1 Zkj] π° [Tag] Add — HTTP.404 06/02/23 14:24:44.842 [90.227.xxx.xxx:52128 1 Zkj] [Ctrl] X Cache_control init on 06/02/23 14:24:45.016 [90.227.xxx.xxx:52128 1 Zkj] [Core] Footer hook called 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Core] Footer check passed 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Router] get_role: 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Router] get_role: 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Vary] role id: failed, guest 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Router] get_role: 06/02/23 14:24:45.022 [90.227.xxx.xxx:52128 1 Zkj] [Router] get_role: 06/02/23 14:24:45.023 [90.227.xxx.xxx:52128 1 Zkj] [Vary] set_cookie —> guest_mode:1 06/02/23 14:24:45.023 [90.227.xxx.xxx:52128 1 Zkj] π° X-LiteSpeed-Cache-Control: public,max-age=3600 06/02/23 14:24:45.023 [90.227.xxx.xxx:52128 1 Zkj] π° X-LiteSpeed-Tag: 6e8_HTTP.404,6e8_404,6e8_URL./test/,6e8
06/02/23 14:24:45.023 [90.227.xxx.xxx:52128 1 Zkj] [Core] Footer check passed
06/02/23 14:24:45.023 [90.227.xxx.xxx:52128 1 Zkj] πΊ finalize
06/02/23 14:24:45.025 [90.227.xxx.xxx:52128 1 Zkj] [Optm] start
06/02/23 14:24:45.025 [90.227.xxx.xxx:52128 1 Zkj] Response headers — array (
0 => ‘Set-Cookie: gdbbx_tracking_activity_e84836a1185ad8afe25863aec9fbe55d=1685708684; expires=Sat, 01-Jun-2024 12:24:44 GMT; Max-Age=31536000; path=/’,
1 => ‘Set-Cookie: gdbbx_online_activity_e84836a1185ad8afe25863aec9fbe55d=2775-1685708677-7192; expires=Fri, 02-Jun-2023 12:27:44 GMT; Max-Age=180; path=/’,
2 => ‘Expires: Wed, 11 Jan 1984 05:00:00 GMT’,
3 => ‘Cache-Control: no-cache, must-revalidate, max-age=0’,
4 => ‘Content-Type: text/html; charset=UTF-8’,
5 => ‘Link: https://www.xxxxx./wp-json/; rel=”https://api.w.org/”‘,
6 => ‘Set-Cookie: lscache_vary=guest_mode%3A1; expires=Sun, 04-Jun-2023 12:24:45 GMT; Max-Age=172800; path=/; secure; HttpOnly’, 7 => ‘X-LiteSpeed-Cache-Control: public,max-age=3600’, 8 => ‘X-LiteSpeed-Tag: 6e8_HTTP.404,6e8_404,6e8_URL./test/,6e8‘,
)# Logged in
06/02/23 14:30:52.194 [90.227.xxx.xxx:51986 1 A8D] π ——GET HTTP/1.1 (HTTPS) /test
06/02/23 14:30:52.194 [90.227.xxx.xxx:51986 1 A8D] Query String:
06/02/23 14:30:52.194 [90.227.xxx.xxx:51986 1 A8D] Cookie lscache_vary: 0f54bfad522c00c223da46f23612b04a 06/02/23 14:30:52.557 [90.227.xxx.xxx:51986 1 A8D] [Ctrl] X Cache_control -> private ( logged in user ) 06/02/23 14:30:52.557 [90.227.xxx.xxx:51986 1 A8D] [Router] get_role: bbp_participant 06/02/23 14:30:52.558 [90.227.xxx.xxx:51986 1 A8D] πΊ Suppress default WP lazyload 06/02/23 14:30:52.699 [90.227.xxx.xxx:51986 1 A8D] [Ctrl] X Cache_control TTL -> 3600 06/02/23 14:30:52.699 [90.227.xxx.xxx:51986 1 A8D] π° [Tag] Add — HTTP.404 06/02/23 14:30:52.699 [90.227.xxx.xxx:51986 1 A8D] [Ctrl] X Cache_control init on 06/02/23 14:30:52.880 [90.227.xxx.xxx:51986 1 A8D] [Core] Footer hook called 06/02/23 14:30:52.888 [90.227.xxx.xxx:51986 1 A8D] [Core] Footer check passed 06/02/23 14:30:52.889 [90.227.xxx.xxx:51986 1 A8D] [Vary] set_cookie —> admin_bar:1;guest_mode:1;logged-in:1 06/02/23 14:30:52.889 [90.227.xxx.xxx:51986 1 A8D] π° X-LiteSpeed-Cache-Control: private,max-age=3600 06/02/23 14:30:52.889 [90.227.xxx.xxx:51986 1 A8D] π° X-LiteSpeed-Tag: 6e8_tag_priv,public:6e8_HTTP.404,public:6e8_404,public:6e8_URL./test/,public:6e8
06/02/23 14:30:52.890 [90.227.xxx.xxx:51986 1 A8D] [Core] Footer check passed
06/02/23 14:30:52.890 [90.227.xxx.xxx:51986 1 A8D] πΊ finalize
06/02/23 14:30:52.892 [90.227.xxx.xxx:51986 1 A8D] Response headers — array (
0 => ‘Set-Cookie: gdbbx_tracking_activity_e84836a1185ad8afe25863aec9fbe55d=1685709052; expires=Sat, 01-Jun-2024 12:30:52 GMT; Max-Age=31536000; path=/’,
1 => ‘Expires: Wed, 11 Jan 1984 05:00:00 GMT’,
2 => ‘Cache-Control: no-cache, must-revalidate, max-age=0’,
3 => ‘Content-Type: text/html; charset=UTF-8’,
4 => ‘Link: https://www.xxxxxxx../wp-json/; rel=”https://api.w.org/”‘,
5 => ‘Set-Cookie: lscache_vary=admin_bar%3A1%3Bguest_mode%3A1%3Blogged-in%3A1; expires=Sun, 04-Jun-2023 12:30:52 GMT; Max-Age=172800; path=/; secure; HttpOnly’, 6 => ‘X-LiteSpeed-Cache-Control: private,max-age=3600’, 7 => ‘X-LiteSpeed-Tag: 6e8_tag_priv,public:6e8_HTTP.404,public:6e8_404,public:6e8_URL./test/,public:6e8‘,
)Forum: Plugins
In reply to: [LiteSpeed Cache] No cache for logged in usersIs it possible to turn of calls to admin-ajax.php and still have a working site?
I’am using BuddyPress and bbPress and I know BuddyPress is not cache friendly but I would like to cache bbPress and all other wordpress pages.
Forum: Plugins
In reply to: [LiteSpeed Cache] No cache for logged in usersBut I get DONOTCACHEPAGE but I can’t figure out why.
I also get “No cache due to admin page” but I don’t any admin page.
Ignore my last post. Not relevant.
I have some issues with the shortcode as well. Only works on Chrome desktop but not on any other browser/os combination like iOS with safari or chrome.
Forum: Plugins
In reply to: [LiteSpeed Cache] New 1mb file in Litespeed/js every 1 secSorry for not getting back, I missed your reply.
https://www.surfzone.se/prodcms/wp-content/litespeed/js/425cf84c6f1adfb72b16f861148e9caa.js
https://www.surfzone.se/prodcms/wp-content/litespeed/js/53d1a85b0d835bdc4227e5c034e40983.js
Forum: Plugins
In reply to: [LiteSpeed Cache] New 1mb file in Litespeed/js every 1 secReport number: SWMMNSYL
Forum: Plugins
In reply to: [LiteSpeed Cache] New 1mb file in Litespeed/js every 1 secI’am not using css/js combine. Do I still have to investigate according to the link?