• juslintek

    (@juslintek)


    I’ve switched from your object cache to LiteSpeed Cache plugin object cache and according to Query Monitor from 8s admin page load speed it jumped to 0.83s on plugins page. Same boost on frontend from 6s to 0.75s. Litespeed is not using object-cache.php file seems like it is a bottleneck. Or maybe it handled wrong. Any insight?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi @juslintek,

    Litespeed is not using object-cache.php file seems like it is a bottleneck.

    that file is a drop-in, and WordPress plugins which provide object-cache support must use it.I’m not sure about details, maybe it symlinked to the actual file.

    Any insight?

    There are so many questions to inspect that. Are you using socket or port? Which options have been enabled? etc.. LSCWP support forums might be the correct place to getting more detail.

    Cheers,

    Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi @juslintek,

    Oh! I saw wrong values when the first time was reading your message, sorry for that. There shouldn’t be that much difference with other object-cache preferences.

    Which drop-in (memcached, redis etc..) did you use? Probably, there might be a misconfiguration on the persistent cache backend, here is the some detail about configuration.

    Thread Starter juslintek

    (@juslintek)

    Hi @m_uysl, I was trying to say that I’m having no problem when using LSCWP Object Cache, which is done via TCP. I’m having huge boost. But when using your plugin it seems its taking no effect. Or its not using redis at all or something is wrong with managing it or something wrong with code in object cache, which is deployed properly after plugin activation.

    And I was trying to say that LSCWP, somehow boosts the speed be bypassing that object-cache.php at all. It is not required for that plugin. It integrates itself by other means.

    I wanted to switch to your plugin, just because its smaller and LSCWP is huge in comparison, with all the features it provides, while most of them depends on integrated into litespeed httpd server modules.

    • This reply was modified 6 years ago by juslintek.
    Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi @juslintek,

    I was trying to say that I’m having no problem when using LSCWP Object Cache, which is done via TCP.

    What are the port and IP address using for Redis server?

    And I was trying to say that LSCWP, somehow boosts the speed be bypassing that object-cache.php at all. It is not required for that plugin. It integrates itself by other means.

    a little confused here, you said LSCWP object cache works over the TCP and now it’s bypassing? ??

    Or its not using redis at all or something is wrong with managing it or something wrong with code in object cache, which is deployed properly after plugin activation.

    I think the backend configured wrongly, so there is no impact. Can you share hit/miss ratio when enabled Powered Cache’s object caching?

    Thanks.

    Thread Starter juslintek

    (@juslintek)

    Okay so probably I should start with that my wp setup is based on bedrock boilerplate by roots.io.

    What are the port and IP address using for Redis server?

    localhost:6379

    a little confused here, you said LSCWP object cache works over the

    TCP and now it’s bypassing? ??

    It uses web/app/.object-cache.ini (app => wp-content) file for object cache config. And it doesn’t create object-cache.php drop in like you do. And it gives immense performance boost in admin panel and front-end.

    I think the backend configured wrongly, so there is no impact. Can you share hit/miss ratio when enabled Powered Cache’s object caching?

    keyspace_hits:79255
    keyspace_misses:183673

    Guess it is not multisite compatible.
    I use as well Cache Enabler, when I save settings load speed from 1.3s of admin panel drops to 8.5s according to Query Monitor.

    Settings:
    a:22:{s:19:"enable_page_caching";b:1;s:18:"configure_htaccess";b:1;s:12:"object_cache";s:5:"redis";s:12:"cache_mobile";b:1;s:26:"cache_mobile_separate_file";b:0;s:19:"loggedin_user_cache";b:1;s:9:"ssl_cache";b:1;s:16:"gzip_compression";b:1;s:13:"cache_timeout";i:1440;s:14:"cache_location";s:71:"/home/juslintek/PhpstormProjects/wp-affiliate-theme/site/web/app/cache/";s:19:"remove_query_string";b:1;s:20:"rejected_user_agents";s:0:"";s:16:"rejected_cookies";s:0:"";s:12:"rejected_uri";s:0:"";s:22:"accepted_query_strings";s:0:"";s:22:"purge_additional_pages";s:0:"";s:10:"cdn_status";b:0;s:12:"cdn_hostname";a:0:{}s:8:"cdn_zone";a:0:{}s:18:"cdn_rejected_files";s:0:"";s:18:"show_cache_message";b:1;s:17:"active_extensions";a:1:{i:0;s:7:"preload";}}

    Plugin Author Mustafa Uysal

    (@m_uysl)

    Okay so probably I should start with that my wp setup is based on bedrock boilerplate by roots.io.

    Actually, I’ve tested with bedrock, and it was working as expected.

    It uses web/app/.object-cache.ini (app => wp-content) file for object cache config. And it doesn’t create object-cache.php drop in like you do. And it gives immense performance boost in admin panel and front-end.

    Somehow it must be created object-cache.php on the fly.

    Guess it is not multisite compatible.

    No, It’s compatible. (even page-cache is compatible too)

    I use as well Cache Enabler, when I save settings load speed from 1.3s of admin panel drops to 8.5s according to Query Monitor.

    Well, it’s hard to figure out what’s wrong on the setup. Can you try wp-redis for object cache only? Our drop-in based on that.

    Regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Seem like your cache is giving little impact on speed’ is closed to new replies.