object cache
-
I need to disable the object cache on the https://mysite.com.br/dashboard/orders/
-
Hello @fabriciobarros10
Thank you for your question.
In your wp-dashboard, go to Performance>General settings, scroll down to Object Cache sub-box, disable the Object Cache, save all settings and purge the cache.

Thanks!@vmarko preciso desativar em apenas uma pagina, não em todas
Hello @fabriciobarros10
W3 Total Cache does not have an option do disable Object Caching on a specific page. You can either add the objects to Non-persistent groups: in Performance>Object Cache, or add
define('DONOTCACHEOBJECT', true);to a specific template that disables object cache for a given page.
Thanks!@vmarko
I don’t understand, you need to be clearer, how can I do this? how do I know which group the page belongs to? the plugin documentation is insufficient.The object cache is causing a bug in the order page transition, canceling the page change when clicked next. page 1, page 2, page ….
I need to disable it on the dashboard / orders / page of the dokan plugin
Hello @fabriciobarros10
Thank you for the info. I’ll try to be as clear as I can.
In W3 Total Cache there is no option to excuse a specific page from Object Cache.
– addingdefine('DONOTCACHEOBJECT', true);means that you need to programmatically edit the templates of those pages and add the provided constant to avoid caching of those templates.
– W3 Total Cache cannot know all the groups used by millions of plugins out there. So I would advise reaching out to the support of the mentioned dokan plugin and ask which groups need to be excluded from object caching.
– As a side note, I am not sure if you are in a shared hosting or VPS. if you are on shared hosting, then RAM-based caching (Memcached or Redis) is likely to be unavailable for you. And disk-based caching is not that efficient. In other words, if you are on shared hosting, it’s recommended not to use Object caching.Thanks!
@vmarko
it didn’t work, I asked for help from the plugin to add the code but it didn’t work.only on this page the error happens!
https://wordpress.org/support/topic/cache-65/?#post-14315975
Hello @fabriciobarros10
It should be added to a template.
If the culprit is the Oppbject Cache, you should either add the groups to the mentioned field or define the provided constant in the template you are using for this.
Please note that if you are using disk caching you should disable Object Cache.
Thanks!
The topic ‘object cache’ is closed to new replies.