supervisior
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Disable guest mode for real users but keep enabled for botsGood luck! ??
Forum: Plugins
In reply to: [LiteSpeed Cache] Disable guest mode for real users but keep enabled for botsGuestmode Optimizations needs the Guestmode to be enabled, so if Guestmode is disabled Guestmode optimizations have no effects.
https://docs.litespeedtech.com/lscache/lscwp/general/#guest-optimizationRead the documentation how to warmup the cache:
https://docs.litespeedtech.com/lscache/lscwp/crawler/Forum: Plugins
In reply to: [LiteSpeed Cache] Disable guest mode for real users but keep enabled for botsGuestmode needs Javascript to be enabled to reload the page, so it is not possible to make the Guestmode only for bots available, because bots don’t follow a JS based reload. To improve the page effects at first request of a user try to keep the cache always warmed. A warmed cache significantly reduces the reload time, so you should only see a short flicker. Please also read this article:
https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/
Forum: Plugins
In reply to: [LiteSpeed Cache] Litespeed Cache not caching any pageAfter installing the LiteSpeed cache plugin it is not caching any pages and WordPress is showing a message that “page cache not detected”.
This is a false positive message. LScache is running at your page, but a URL must be requested once to get it cached, so the first request is always a miss, if it is still uncached. WordPress isn’t smart enough to determine whether the cache is working. To check if the LScache is working, either check the x-litespeed-cache response header in your browser or use https://check.lscache.io/ or watch this video: https://www.youtube.com/watch?v=M9YDUV-LqYQ
- This reply was modified 1 year, 3 months ago by supervisior.
Forum: Plugins
In reply to: [LiteSpeed Cache] Question about Instant Click featurePlease read my last post again. This post answers your first post and also the scenario you described in your last post because they are both the same. For the Instant Click function, it doesn’t matter whether it is a single link or links in a menu. For every link that is hovered, the Instant Click script fires an XHR request.
Would the Instant Click feature preload 5 pages in this scenario?
The answer to your question is therefore yes, but not all links at the same time, but only for the links that are hovered.
Forum: Plugins
In reply to: [LiteSpeed Cache] Question about Instant Click featureAs said, each single menu item that has a link must be hovered to preload. Hovering the Clothing link doesn’t preload links in submenu.
Forum: Plugins
In reply to: [LiteSpeed Cache] Memcached test connectionVerify if server path to memcached.sock is correct.
Forum: Plugins
In reply to: [LiteSpeed Cache] Memcached test connectionDid you try both names for memcached.sock?
Forum: Plugins
In reply to: [LiteSpeed Cache] Question about Instant Click featureif Instant Click was enabled would it preload all 5 pages?
No, only the hovered link. If Clothing is just a menu item without a link nothing happens.
Forum: Plugins
In reply to: [LiteSpeed Cache] Memcached test connectionMany Shared Hostings uses a UNIX socket, so try port 0 and set the path to memcached-1.sock or memcached.sock.
Or try this code to check if Memcached uses UNIX socket.
<?php $mc = new Memcached(); $mc->addServer('path_to_memcached.sock or path_to_memcached-1.sock', 0) or die ("Unable to connect"); echo "Server version:<pre>"; print_r($mc->getVersion()); echo "</pre>"; $tmp = new stdClass; $tmp->str_attr = 'test'; $tmp->int_attr = rand(0,1000); $mc->set('testkey', $tmp, 10) or die ("Unable to save data in the cache"); $result = $mc->get('testkey'); echo "Data from the cache:<pre>"; var_dump($result); echo "</pre>";
Forum: Plugins
In reply to: [LiteSpeed Cache] Litespeed not replacing jpg/pngIn order for a webp replacement to take place, the following rules must be met.
- The webp image must be smaller in file size than the original image.
- If the browser is a Safari browser on an iPhone and the Safari browser version < 14
- The browser must send an HTTP Accept image/webp header.
This is the official definition of LiteSpeed, but this definition is largely flawed, so there is a strong possibility that the webp replacement is flawed as well.
Although LiteSpeed has been aware of the inadequate replacement for several years, LiteSpeed ignores every bug report.
Solution: Log into LiteSpeed Slack and complain about it to LiteSpeed head developer @hai.
https://www.litespeedtech.com/slack
- This reply was modified 1 year, 3 months ago by supervisior.
Forum: Plugins
In reply to: [LiteSpeed Cache] Domain key errorPlease specify:
Today we try updated our domain key and got error.
Nobody can read minds!
- This reply was modified 1 year, 3 months ago by supervisior.
Forum: Plugins
In reply to: [LiteSpeed Cache] Preload cache after cache purgeDocumentation is your friend… ??
Forum: Plugins
In reply to: [LiteSpeed Cache] UCSS breaks Navigation block on mobileLogin to LiteSpeed Slack and make a feature suggestion:
Forum: Plugins
In reply to: [LiteSpeed Cache] UCSS breaks Navigation block on mobileIt’s probably because these classes are set through javascript?
The UCSS generator is PHP driven and doesn’t understand Javascript, so if your theme uses JS to define CSS then it should be clear why the UCSS function doesn’t work as you expect.