Wordpress LScache Plugin: Login not refreshing after logging in
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, Ive got this strange beahviour when after logging in, the page doesnt appear to have logged in even though I have. Normally the same page should display differently, with access to new forums, additional menu links etc etc. Instead it just looks like the login failed. This puzzled me for hours until I realised it had logged me in and I had access to all the links that a logged in user has, but only by clicking away from the page and back into it. I guess this page is cached, which we want it to be, but how do I clear the cache immediately after theyve logged in? Thanks. Further to my OP, Im noticing that Litespeed is not playing nice with bbpress in general. After creating a reply in a topic and returning to the topic archive, the reply count hasnt changed. Worse still, my sidebar should be displaying different content when logged in but its showing the logged out sidebar, even though I am still logged in. Any pointers appreciated, thanks. Hi @demonboy, we keep enhancing the compatibility with different plugin including bb-press. If you havent turned on ESI please try to turn it ON. Also, can you send us your Report Number, found in?WP Admin > LiteSpeed Cache > Report. We will try to reproduce on your site. Hi Stanley, thanks for getting back to me. Ive now turned ESI on but need to read up on the different capability roles because that section is relevant to me (different pages access for different forum roles). Meanwhile there is no report number. However Im including the log report that the plugin has produced. Thanks. Server Variables SERVER_SOFTWARE = LiteSpeed DOCUMENT_ROOT = /home/followth/public_html X-LSCACHE = on LSWCP_TAG_PREFIX = bfb WP_SITEURL = NULL WP_HOME = NULL WP_CONTENT_DIR = /home/followth/public_html/wp-content SHORTINIT = false LSCWP_CONTENT_DIR = /home/followth/public_html/wp-content LSCWP_CONTENT_FOLDER = wp-content LSCWP_DIR = /home/followth/public_html/wp-content/plugins/litespeed-cache/ LITESPEED_TIME_OFFSET = 28800 LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT LITESPEED_CLI = NULL LITESPEED_ALLOWED = true LITESPEED_ON = true LITESPEED_ON_IN_SETTING = true LSCACHE_ADV_CACHE = true LSWCP_TAG_PREFIX = bfb Wordpress Specific Extras wordpress version = 5.2.4 siteurl = https://followtheboat.com home = https://followtheboat.com home_url = https://followtheboat.com locale = en_GB active theme = X ? Child Theme active plugins = array ( 0 => akismet/akismet.php, 1 => all-in-one-seo-pack/all_in_one_seo_pack.php, 2 => amr-shortcode-any-widget/amr-shortcode-any-widget.php, 3 => bbp-last-post/bbp-last-post.php, 4 => bbp-members-only-pro/bbpress-members-only.php, 5 => bbp-toolkit/bbp-toolkit.php, 6 => bbpnns-buddypress-bridge/bbpnns-buddypress-bridge.php, 7 => bbpnns-digest/bbpnns-digest.php, 8 => bbpress-enable-tinymce-visual-tab/init.php, 9 => bbpress-login-register-links-on-forum-topic-pages/bbpress-login-register-links-on-forum-page.php, 10 => bbpress-notify-nospam/bbpress-notify-nospam.php, 11 => bbpress/bbpress.php, 12 => blogvault-real-time-backup/blogvault.php, 13 => bruteprotect/bruteprotect.php, 14 => buddypress-profile-completion/bp-profile-completion.php, 15 => buddypress/bp-loader.php, 16 => change-permalink-helper/change_permalink_helper.php, 17 => classic-editor/classic-editor.php, 18 => cornerstone/cornerstone.php, 20 => feedzy-rss-feeds/feedzy-rss-feed.php, 21 => fix-rss-feed/fix-rss-feed.php, 22 => font-awesome/font-awesome.php, 23 => force-https-littlebizzy/force-https.php, 24 => gamipress-bbpress-integration/gamipress-bbpress.php, 25 => gamipress-buddypress-integration/gamipress-buddypress.php, 26 => gamipress-multimedia-content/gamipress-multimedia-content.php, 27 => gamipress-youtube-integration/gamipress-youtube.php, 28 => gamipress/gamipress.php, 29 => gd-bbpress-attachments/gd-bbpress-attachments.php, 30 => gd-bbpress-tools/gd-bbpress-tools.php, 31 => google-adsense-for-responsive-design-gard/index.php, 32 => google-sitemap-generator/sitemap.php, 33 => heartbeat-control/heartbeat-control.php, 34 => instagram-feed/instagram-feed.php, 35 => latest-post-in-menu/latest-post-in-menu.php, 36 => litespeed-cache/litespeed-cache.php, 37 => memberpress-buddypress/main.php, 38 => memberpress-userroles/main.php, 39 => memberpress/memberpress.php, 40 => merge-minify-refresh/merge-minify-refresh.php, 41 => paypal-for-woocommerce/paypal-for-woocommerce.php, 42 => php-code-widget/execphp.php, 43 => popupally/popup-ally.php, 44 => postie/postie.php, 45 => powerpress/powerpress.php, 46 => printful-shipping-for-woocommerce/printful-shipping.php, 47 => redirection/redirection.php, 48 => shortcode-redirect/scr.php, 49 => simple-buddypress-profile-privacy/loader.php, 50 => simple-yearly-archive/simple-yearly-archive.php, 51 => super-progressive-web-apps/superpwa.php, 52 => thank-me-later/thankmelater.php, 53 => tinymce-advanced/tinymce-advanced.php, 54 => travelers-map/travelers-map.php, 55 => user-role-editor-pro/user-role-editor-pro.php, 56 => wc-no-shipping-message/wc-no-shipping-message.php, 57 => widget-logic/widget_logic.php, 58 => woocommerce-admin/woocommerce-admin.php, 59 => woocommerce-breadcrumbs/woocommerce-breadcrumbs.php, 60 => woocommerce-eu-vat-compliance/eu-vat-compliance.php, 61 => woocommerce-gateway-stripe/woocommerce-gateway-stripe.php, 62 => woocommerce-menu-bar-cart/wp-menu-cart.php, 63 => woocommerce/woocommerce.php, 64 => wp-chunk.php, 65 => wp-crontrol/wp-crontrol.php, 66 => wp-mail-smtp/wp_mail_smtp.php, ) LSCache Plugin Options version = 2.9.9 radio_select = 1 purge_upgrade = true cache_priv = true cache_commenter = true cache_rest = true cache_page_login = false timed_urls = timed_urls_time = cache_favicon = true cache_resources = true mobileview_enabled = false mobileview_rules = cache_object = false cache_object_kind = false cache_object_host = localhost cache_object_port = 11211 cache_object_life = 360 cache_object_persistent = true cache_object_admin = true cache_object_transients = true cache_object_db_id = 0 cache_object_user = cache_object_pswd = cache_browser = false cache_browser_ttl = 2592000 login_cookie = check_advancedcache = true use_http_for_https_vary = false debug_disable_all = false debug = 0 admin_ips = 127.0.0.1 debug_level = false log_file_size = 3 heartbeat = true debug_cookie = false collaps_qs = false log_filters = false public_ttl = 604800 private_ttl = 1800 front_page_ttl = 604800 feed_ttl = 0 403_ttl = 3600 404_ttl = 3600 500_ttl = 3600 purge_by_post = A.F.H.M.PGS.PGSRP.PT.T excludes_qs = excludes_cat = excludes_tag = instant_click = false css_minify = true css_inline_minify = true css_combine = true css_combined_priority = false css_http2 = false css_exclude = js_minify = false js_inline_minify = false js_combine = false js_combined_priority = false js_http2 = false js_exclude = optimize_ttl = 604800 html_minify = false optm_qs_rm = false optm_ggfonts_rm = false optm_css_async = false optm_ccss_gen = true optm_ccss_async = true optm_css_async_inline = true optm_js_defer = false optm_emoji_rm = false optm_exclude_jquery = true optm_ggfonts_async = false optm_max_size = 1.2 optm_rm_comment = false cdn = false cdn_ori = cdn_exclude = cdn_remote_jquery = 0 cdn_quic = false cdn_quic_email = cdn_quic_key = cdn_cloudflare = false cdn_cloudflare_email = cdn_cloudflare_key = cdn_cloudflare_name = cdn_cloudflare_zone = media_img_lazy = false media_img_lazy_placeholder = media_iframe_lazy = false media_optm_auto = false media_optm_cron = true media_optm_ori = true media_rm_ori_bkup = false media_optm_webp = false media_optm_lossless = false media_optm_exif = false media_webp_replace = false media_webp_replace_srcset = false hash = CDaTwJhaeSGqivoc1HGhS1B3spuoG9d8 nocache_cookies = nocache_useragents = crawler_include_posts = true crawler_include_pages = true crawler_include_cats = true crawler_include_tags = true crawler_excludes_cpt = crawler_order_links = date_desc crawler_usleep = 500 crawler_run_duration = 400 crawler_run_interval = 600 crawler_crawl_interval = 302400 crawler_threads = 3 crawler_load_limit = 1 crawler_domain_ip = crawler_custom_sitemap = crawler_cron_active = false esi_enabled = true esi_cached_admbar = true esi_cached_commform = true media_img_lazyjs_inline = false media_placeholder_resp = false media_placeholder_resp_color = #cfd4db media_placeholder_resp_async = true auto_upgrade = true wc_update_interval = 0 wc_shop_use_front_ttl = true woo_cache_cart = true litespeed-cache-vary-group = array ( administrator => 99, ) litespeed-cache-exclude-optimization-roles = array ( ) litespeed-cache-exclude-cache-roles = array ( ) litespeed-optm-css = litespeed-optm-js-defer-excludes = litespeed-media-lazy-img-excludes = litespeed-media-lazy-img-cls-excludes = litespeed-media-need-pull = false litespeed-env-ref = false litespeed-cache-drop_qs = litespeed-cache-cdn_mapping = array ( 0 => array ( url => false, inc_img => false, inc_css => false, inc_js => false, filetype => .aac .css .eot .gif .jpeg .js .jpg .less .mp3 .mp4 .ogg .otf .pdf .png .svg .ttf .woff, ), ) litespeed-cdn-ori_dir = wp-content wp-includes /min/ litespeed-cache-dns_prefetch = litespeed-cache-cloudflare_status = false litespeed-log_ignore_filters = gettext gettext_with_context get_the_terms get_term litespeed-log_ignore_part_filters = i18n locale settings option litespeed-object_global_groups = users userlogins usermeta user_meta site-transient site-options site-lookup blog-lookup blog-details rss global-posts blog-id-cache litespeed-object_non_persistent_groups = comment counts plugins litespeed-crawler-as-uids = litespeed-crawler-cookies = array ( ) litespeed-adv-purge_all_hooks = switch_theme wp_create_nav_menu wp_update_nav_menu wp_delete_nav_menu create_term edit_terms delete_term add_link edit_link delete_link litespeed-forced_cache_uri = litespeed-cache_uri_priv = litespeed-optm_excludes = litespeed-excludes_uri = litespeed-media-webp_attribute = img.src div.data-thumb img.data-src div.data-large_image img.retina_logo_url litespeed-optm-ccss-separate_posttype = litespeed-optm-css-separate_uri = /home/followth/public_html/.htaccess contents: # Specify vary accept encoding header START # Header append Vary: Accept-Encoding # Specify vary accept encoding header END # # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule .* - [E=Cache-Control:no-autoflush] RewriteRule ^min/w+.(css|js) - [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts).php - [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon.ico$ - [E=cache-control:max-age=86400] ### marker FAVICON end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END LSCACHE # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## ### marker MINIFY start ### RewriteEngine on RewriteCond % DOCUMENT_ROOT}% REQUEST_URI} ^(.*)/min/(w+).(css|js)$ RewriteCond %1/wp-content/cache/$2/$1.$2 -f RewriteRule min/(w+).(css|js) wp-content/cache/$2/$1.$2 [L] ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ## # END NON_LSCACHE RewriteEngine On Options +FollowSymLinks Redirect 302 /testing http://www.followtheboat.com/shop # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond % REQUEST_FILENAME} !-f RewriteCond % REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # Hotlink Protection START # RewriteEngine on RewriteCond % HTTP_REFERER} !^$ RewriteCond % HTTP_REFERER} !^http( s )?://( www. )?followtheboat.com [NC] RewriteCond % HTTP_REFERER} !^http( s )?://( www. )?google.com [NC] RewriteRule .( jpg|jpeg|png|gif )$ - [NC,F,L] # Hotlink Protection END #Expand Hi, Further to this issue it seems it was a problem with my CDN, not the plugin, so apologies for the concern. Weve bypassed caching of this one page at the CDN end. Not ideal but it resolves the problem for the time being. Thanks for your time. Thanks for the update @demonboy. Please feel free to let us know if you still have any problems. One thing ? my CDN said brotli compression is causing the problem. Is this something I can turn off within the plugin? I cant see anything anywhere?.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference