Nawawi Jamili
Forum Replies Created
-
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] Database Spam “Options Update”Hi there,
I am not sure what is causing the issue. You may use this constant and place it in the wp-config.php file.
define('DOCKET_CACHE_IGNORED_GROUPKEY',
[
'options' => ['cron']
]
);Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] Zend Opcache enabled or not?Hi there,
ok, I found this thread.
Glad to hear that.
in addition one question, if Docket Cache does not detect OPCache, is it better to disable it?
Docket Cache can’t detect it because of the restriction on your hosting. It may or may not be able to use the OPcache.
Docket Cache still works and stores the WordPress Object Cache. The only drawback is that it will read the cache directly from disk instead of in-memory if OPcache is available.
You may leave it enabled if unsure.
Thanks.
Hi there,
You can try adding this constant to the wp-config.php file
define('DOCKET_CACHE_IGNORED_GROUPKEY',
[
'options' => ['active_plugins', 'uninstall_plugins', 'alloptions'],
'site-transient' => ['update_plugins']
]
);And then click “Flush Object Cache” on the Overview Page.
Please refer to the related constants:
DOCKET_CACHE_IGNORED_GROUPS
DOCKET_CACHE_IGNORED_KEYS
DOCKET_CACHE_IGNORED_GROUPKEYThanks.
It’s pretty impressive and neat code. Yes, it needs some adjustment to handle the status.
You may refer to this file https://github.com/nawawi/docket-cache/blob/master/includes/src/ReqAction.php; all code for actions and notice messages reside there.
You can use Canopt() class (https://github.com/nawawi/docket-cache/blob/master/includes/src/Canopt.php) to save and get data. Access it from docketcache/init action
Save data:
$docket_cache->co()->save_part('data', 'filename')
Get data:$docket_cache->co()->get_part('filename')
The data will be stored in wp-content/docket-cache-data/filename.php
Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] Checkout breaksHi there,
I’m not sure I understand about it. If Docket Cache is causing a conflict with your plugin, the best option is to turn it off.
Without any details, there is nothing I can help with.
Thanks.
Hi there,
Thanks for your feedback. I really appreciate it.
Due to my schedule availability, I can’t guarantee that I will implement it. Perhaps you could create a new plugin to handle such a feature.
Here the code to create action hook to use with other plugin:
https://gist.github.com/nawawi/25a6f666adbc338b776d1b93a59415b5
Thanks.
Hi there,
From the given code, nope, there shouldn’t be a conflict with Docket Cache.
Thanks.
You’re using PHP 8.4, and I believe the code has some errors since it’s not tested with PHP 8.4.
Anyway, good choice.
Thanks.
So sorry, previously I didn’t see the image from the link. It’s like no cache file has been created.
Please check if the wp-content/.object-cache-delay.txt file exists. If yes, remove it. It is supposed to be automatically removed after activating Docket Cache.
Your plugin’s requirements calls for having ZEND OPCache installed, we have opcache. Could this be part of the problem?
Object cache should work with or without OPcache. Having an opcache will improve performance by taking advantage of the in-memory cache. Seems Docket Cache can’t detect OPcache, mostly is caused by PHP settings.
Thanks.
Hi,
wp object-cache.php drop-in file should exist in the wp-content directory. Go to the Overview page; all the information you will find there, whether the drop-in file is installed or not.
Cronbot service works as is. No gurantee it will works.
Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] How to Disable Orange (Dynamic) BarAdd this constant at wp-config.php
define('DOCKET_CACHE_PAGELOADER', false);
https://docs.docketcache.com/constants#docket_cache_pageloader
Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] How to Disable Orange (Dynamic) BarHi there,
Go to
Configuration -> ADMIN INTERFACE -> Admin Page Loader
And select Disabled. It only appears if the page takes more than 750 ms to unload before loading a new page.Thanks.
Hi there,
Is Docket Cache faster than Memcached?
Nope.
Any experience with SiteGround’s Memcached service?
Nope.
Is your plugin compatible with?Speed Optimizer?
By default, if no object caching drop-in has been used, it should be compatible with Docket Cache.
Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] Issue with login buttonHi,
I’m marking this thread as resolved. Feel free to open a new topic if you have further questions.
Thanks.
Forum: Plugins
In reply to: [Docket Cache - Object Cache Accelerator] Issue with login buttonHi there,
Go to the configuration page “Configuration -> CACHE OPTIONS” and you may try to enable “Retain Transients in?Db”.
Thanks.