LiteSpeed is disabling my styleswitcher
-
Update to this post – I may have jumped the gun about it always working in Firefox but there is something different in the way that Firefox seems to handle cookies?
Hi, we have an accessibility toolbar that switches colour contrast styles by way of a cookie. It works perfectly well across all of our website when running APache, however, when we switched to LiteSpeed a few weeks ago, it does not work in Chrome or Edge unless you refresh the page. However, it still works in Firefox, so you can very quickly see the behaviour difference.
Please do the following in Chrome:
Visit https://accessbydesign.uk
Open the accessibility toolbar at the top and choose yellow. Every page you visit is now yellow. Change the colour to green and only pages they have never been visited before turn green. The others display yellow until you refresh the screen.
If you do this in Firefox, it works perfectly. Just like it does across all browsers if you have Apache turned on instead.
We have tried absolutely everything to get this resolved and need assistance urgently please.
Report number: IKMCMVUF
Report date: 01/18/2024 21:42:19
Server Variables
SERVER_SOFTWARE = LiteSpeed
DOCUMENT_ROOT = /data/abd6632/public_html
X-LSCACHE = on
LSWCP_TAG_PREFIX = 833
WP_SITEURL = NULL
WP_HOME = NULL
WP_CONTENT_DIR = /data/abd6632/public_html/abd/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /data/abd6632/public_html/abd/wp-content
LSCWP_CONTENT_FOLDER = abd/wp-content
LSCWP_DIR = /data/abd6632/public_html/abd/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = true
LSWCP_TAG_PREFIX = 833
COOKIEHASH = 0eda3e4cab3eb7fdce82731c62df4d76 Wordpress Specific Extras
wordpress version = 6.4.2
siteurl = https://accessbydesign.uk/abd
home = https://accessbydesign.uk
home_url = https://accessbydesign.uk
locale = en_GB
active theme = Access 2022
active plugins = array (
0 => 'akismet/akismet.php',
1 => 'better-search-replace/better-search-replace.php',
2 => 'breadcrumb-navxt/breadcrumb-navxt.php',
3 => 'capability-manager-enhanced/capsman-enhanced.php',
4 => 'classic-editor/classic-editor.php',
5 => 'contact-form-7/wp-contact-form-7.php',
6 => 'litespeed-cache/litespeed-cache.php',
7 => 'post-types-order/post-types-order.php',
8 => 'simple-page-ordering/simple-page-ordering.php',
9 => 'wordfence/wordfence.php',
10 => 'wordpress-importer/wordpress-importer.php',
11 => 'wordpress-seo/wp-seo.php',
12 => 'wp-pagenavi/wp-pagenavi.php',
13 => 'wpmudev-updates/update-notifications.php',
14 => 'nextgen-gallery/nggallery.php',
)
cloud = array (
'curr_request.ver' => 0,
'last_request.ver' => 1705612874,
'news.utime' => 1705612880,
'curr_request.news' => 0,
'last_request.news' => 1705612880,
'token_ts' => 1704838396,
'is_linked' => 1,
'apikey_ts' => 1704838421,
'curr_request.d/usage' => 0,
'last_request.d/usage' => 1704839184,
'usage.img_optm' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 10000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => 1000,
'remaining_daily_quota' => 1000,
),
'usage.page_optm' =>
array (
'total_used' => '7',
'used' => '7',
'quota' => '2000',
'daily_quota' => 86,
'remaining_daily_quota' => 79,
'pag_used' => '0',
'pag_bal' => 0,
'pkgs' => '4',
),
'usage.ccss' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 2000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => 86,
'remaining_daily_quota' => 86,
),
'usage.ucss' => false,
'usage.vpi' => false,
'usage.lqip' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 1000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => 43,
'remaining_daily_quota' => 43,
),
'usage.cdn' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 200,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => -1,
'remaining_daily_quota' => -1,
),
'usage.health' =>
array (
'total_used' => 0,
'used' => 0,
'quota' => 1000,
'unlimited_quota' => false,
'pag_used' => 0,
'pag_bal' => 0,
'pkgs' => 4,
'daily_quota' => -1,
'remaining_daily_quota' => -1,
),
'curr_request.d/nodes' => 0,
'last_request.d/nodes' => 1704839190,
'server.ccss' => 'https://node449.quic.cloud',
'server_date.ccss' => 1704839187,
'curr_request.ccss' => 0,
'last_request.ccss' => 1704839187,
'server.ucss' => 'https://node12.quic.cloud',
'server_date.ucss' => 1704839190,
'curr_request.ucss' => 0,
'last_request.ucss' => 1704839588,
'curr_request.wp/report' => 0,
'last_request.wp/report' => 1705614139,
) LSCache Plugin Options
_version = 5.7.0.1
hash = gWMVHBVpBtWLc2rFTHlO6LlSSK8rdfdY
auto_upgrade = true
api_key = EE4F7D6AB5F102F0BABDFD06EF0B54FE
server_ip = 81.31.75.149
guest = false
guest_optm = false
news = true
guest_uas = array (
0 => 'Lighthouse',
1 => 'GTmetrix',
2 => 'Google',
3 => 'Pingdom',
4 => 'bot',
5 => 'spider',
6 => 'PTST',
7 => 'HeadlessChrome',
)
guest_ips = array (
0 => '208.70.247.157',
1 => '172.255.48.130',
2 => '172.255.48.131',
3 => '172.255.48.132',
4 => '172.255.48.133',
5 => '172.255.48.134',
6 => '172.255.48.135',
7 => '172.255.48.136',
8 => '172.255.48.137',
9 => '172.255.48.138',
10 => '172.255.48.139',
11 => '172.255.48.140',
12 => '172.255.48.141',
13 => '172.255.48.142',
14 => '172.255.48.143',
15 => '172.255.48.144',
16 => '172.255.48.145',
17 => '172.255.48.146',
18 => '172.255.48.147',
19 => '52.229.122.240',
20 => '104.214.72.101',
21 => '13.66.7.11',
22 => '13.85.24.83',
23 => '13.85.24.90',
24 => '13.85.82.26',
25 => '40.74.242.253',
26 => '40.74.243.13',
27 => '40.74.243.176',
28 => '104.214.48.247',
29 => '157.55.189.189',
30 => '104.214.110.135',
31 => '70.37.83.240',
32 => '65.52.36.250',
33 => '13.78.216.56',
34 => '52.162.212.163',
35 => '23.96.34.105',
36 => '65.52.113.236',
37 => '172.255.61.34',
38 => '172.255.61.35',
39 => '172.255.61.36',
40 => '172.255.61.37',
41 => '172.255.61.38',
42 => '172.255.61.39',
43 => '172.255.61.40',
44 => '104.41.2.19',
45 => '191.235.98.164',
46 => '191.235.99.221',
47 => '191.232.194.51',
48 => '52.237.235.185',
49 => '52.237.250.73',
50 => '52.237.236.145',
51 => '104.211.143.8',
52 => '104.211.165.53',
53 => '52.172.14.87',
54 => '40.83.89.214',
55 => '52.175.57.81',
56 => '20.188.63.151',
57 => '20.52.36.49',
58 => '52.246.165.153',
59 => '51.144.102.233',
60 => '13.76.97.224',
61 => '102.133.169.66',
62 => '52.231.199.170',
63 => '13.53.162.7',
64 => '40.123.218.94',
)
cache = true
cache-priv = false
cache-commenter = false
cache-rest = false
cache-page_login = true
cache-favicon = true
cache-resources = true
cache-mobile = true
cache-mobile_rules = array (
0 => 'Mobile',
1 => 'Android',
2 => 'Silk/',
3 => 'Kindle',
4 => 'BlackBerry',
5 => 'Opera Mini',
6 => 'Opera Mobi',
)
cache-browser = false
cache-exc_useragents = array (
)
cache-exc_cookies = array (
)
cache-exc_qs = array (
)
cache-exc_cat = array (
)
cache-exc_tag = array (
)
cache-force_uri = array (
)
cache-force_pub_uri = array (
)
cache-priv_uri = array (
)
cache-exc = array (
)
cache-exc_roles = array (
)
cache-drop_qs = array (
0 => 'fbclid',
1 => 'gclid',
2 => 'utm*',
3 => '_ga',
)
cache-ttl_pub = 604800
cache-ttl_priv = 1800
cache-ttl_frontpage = 604800
cache-ttl_feed = 604800
cache-ttl_rest = 604800
cache-ttl_browser = 31557600
cache-ttl_status = array (
0 => '404 3600',
1 => '500 600',
)
cache-login_cookie =
cache-vary_group = array (
'administrator' => '99',
'author' => '0',
'contributor' => '0',
'editor' => '0',
'subscriber' => '0',
'wpseo_editor' => '0',
'wpseo_manager' => '0',
)
purge-upgrade = true
purge-stale = false
purge-post_all = false
purge-post_f = true
purge-post_h = true
purge-post_p = true
purge-post_pwrp = true
purge-post_a = true
purge-post_y = false
purge-post_m = true
purge-post_d = false
purge-post_t = true
purge-post_pt = true
purge-timed_urls = array (
)
purge-timed_urls_time =
purge-hook_all = array (
0 => 'switch_theme',
1 => 'wp_create_nav_menu',
2 => 'wp_update_nav_menu',
3 => 'wp_delete_nav_menu',
4 => 'create_term',
5 => 'edit_terms',
6 => 'delete_term',
7 => 'add_link',
8 => 'edit_link',
9 => 'delete_link',
)
esi = false
esi-cache_admbar = true
esi-cache_commform = true
esi-nonce = array (
0 => 'stats_nonce',
1 => 'subscribe_nonce',
)
util-instant_click = false
util-no_https_vary = false
debug-disable_all = false
debug = 0
debug-ips = array (
0 => '127.0.0.1',
)
debug-level = false
debug-filesize = 3
debug-cookie = true
debug-collaps_qs = false
debug-inc = array (
)
debug-exc = array (
)
debug-exc_strings = array (
)
db_optm-revisions_max = 0
db_optm-revisions_age = 0
optm-css_min = false
optm-css_comb = false
optm-css_comb_ext_inl = false
optm-ucss = false
optm-ucss_inline = false
optm-ucss_whitelist = array (
)
optm-ucss_file_exc_inline = array (
)
optm-ucss_exc = array (
)
optm-css_exc = array (
)
optm-js_min = false
optm-js_comb = false
optm-js_comb_ext_inl = false
optm-js_delay_inc = array (
)
optm-js_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
)
optm-html_min = false
optm-html_lazy = array (
)
optm-qs_rm = false
optm-ggfonts_rm = false
optm-css_async = false
optm-ccss_per_url = false
optm-ccss_sep_posttype = array (
0 => 'page',
)
optm-ccss_sep_uri = array (
)
optm-css_async_inline = false
optm-css_font_display = false
optm-js_defer = 0
optm-emoji_rm = false
optm-noscript_rm = false
optm-ggfonts_async = false
optm-exc_roles = array (
)
optm-ccss_con =
optm-js_defer_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
2 => 'gtm.js',
3 => 'analytics.js',
)
optm-gm_js_exc = array (
)
optm-dns_prefetch = array (
)
optm-dns_prefetch_ctrl = false
optm-dns_preconnect = array (
)
optm-exc = array (
)
optm-guest_only = true
object = false
object-kind = false
object-host = localhost
object-port = 11211
object-life = 360
object-persistent = true
object-admin = true
object-transients = true
object-db_id = 0
object-user =
object-pswd =
object-global_groups = array (
0 => 'users',
1 => 'userlogins',
2 => 'useremail',
3 => 'userslugs',
4 => 'usermeta',
5 => 'user_meta',
6 => 'site-transient',
7 => 'site-options',
8 => 'site-lookup',
9 => 'site-details',
10 => 'blog-lookup',
11 => 'blog-details',
12 => 'blog-id-cache',
13 => 'rss',
14 => 'global-posts',
15 => 'global-cache-test',
)
object-non_persistent_groups = array (
0 => 'comment',
1 => 'counts',
2 => 'plugins',
3 => 'wc_session_id',
)
discuss-avatar_cache = false
discuss-avatar_cron = false
discuss-avatar_cache_ttl = 604800
optm-localize = false
optm-localize_domains = array (
0 => '### Popular scripts ###',
1 => 'https://platform.twitter.com/widgets.js',
2 => 'https://connect.facebook.net/en_US/fbevents.js',
)
media-lazy = false
media-lazy_placeholder =
media-placeholder_resp = false
media-placeholder_resp_color = #cfd4db
media-placeholder_resp_svg =
media-lqip = true
media-lqip_qual = 4
media-lqip_min_w = 150
media-lqip_min_h = 150
media-placeholder_resp_async = false
media-iframe_lazy = false
media-add_missing_sizes = false
media-lazy_exc = array (
)
media-lazy_cls_exc = array (
0 => 'wmu-preview-img',
)
media-lazy_parent_cls_exc = array (
)
media-iframe_lazy_cls_exc = array (
)
media-iframe_lazy_parent_cls_exc = array (
)
media-lazy_uri_exc = array (
)
media-lqip_exc = array (
)
media-vpi = false
media-vpi_cron = false
img_optm-auto = false
img_optm-cron = true
img_optm-ori = true
img_optm-rm_bkup = false
img_optm-webp = false
img_optm-lossless = false
img_optm-exif = true
img_optm-webp_attr = array (
0 => 'img.src',
1 => 'div.data-thumb',
2 => 'img.data-src',
3 => 'img.data-lazyload',
4 => 'div.data-large_image',
5 => 'img.retina_logo_url',
6 => 'div.data-parallax-image',
7 => 'div.data-vc-parallax-image',
8 => 'video.poster',
)
img_optm-webp_replace_srcset = false
img_optm-jpg_quality = 82
crawler = false
crawler-usleep = 500
crawler-run_duration = 400
crawler-run_interval = 600
crawler-crawl_interval = 302400
crawler-threads = 3
crawler-timeout = 30
crawler-load_limit = 1
crawler-sitemap =
crawler-drop_domain = true
crawler-map_timeout = 120
crawler-roles = array (
)
crawler-cookies = array (
)
misc-heartbeat_front = false
misc-heartbeat_front_ttl = 60
misc-heartbeat_back = false
misc-heartbeat_back_ttl = 60
misc-heartbeat_editor = false
misc-heartbeat_editor_ttl = 15
cdn = false
cdn-ori = array (
0 => '//accessbydesign.uk/',
)
cdn-ori_dir = array (
0 => 'abd/wp-content',
1 => 'wp-includes',
)
cdn-exc = array (
)
cdn-quic = false
cdn-cloudflare = false
cdn-cloudflare_email =
cdn-cloudflare_key =
cdn-cloudflare_name =
cdn-cloudflare_zone =
cdn-mapping = array (
0 =>
array (
'url' => '/',
'inc_img' => true,
'inc_css' => true,
'inc_js' => true,
'filetype' =>
array (
0 => '.aac',
1 => '.css',
2 => '.eot',
3 => '.gif',
4 => '.jpeg',
5 => '.jpg',
6 => '.js',
7 => '.less',
8 => '.mp3',
9 => '.mp4',
10 => '.ogg',
11 => '.otf',
12 => '.pdf',
13 => '.png',
14 => '.svg',
15 => '.ttf',
16 => '.webp',
17 => '.woff',
18 => '.woff2',
),
),
)
cdn-attr = array (
0 => '.src',
1 => '.data-src',
2 => '.href',
3 => '.poster',
4 => 'source.srcset',
)
qc-token =
qc-nameservers =
_cache = true /data/abd6632/public_html/abd/.htaccess contents: 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 .litespeed_conf.dat - [F,L] marker MOBILE start RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC]
RewriteRule .* - [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+ismobile] marker MOBILE end marker CACHE RESOURCE start RewriteRule abd/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 marker DROPQS start CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga marker DROPQS 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! LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE BEGIN W3TC Browser Cache Header append Vary User-Agent env=!dont-vary
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
# DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml
END W3TC Browser Cache BEGIN WordPress RewriteEngine On RewriteBase /abd/ RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /abd/index.php [L] END WordPressThank you very much, this has become critical.
Best wishes
Clive
The page I need help with: [log in to see the link]
- The topic ‘LiteSpeed is disabling my styleswitcher’ is closed to new replies.