• Resolved Nadav Levi

    (@123nadav)


    Hello, how are you again?
    i little suspect the folder of docket cache:
    /wp-content/cache/docket-cache

    and

    /wp-content/object-cache.php

    Now, i am thinking maybe this cache is backend cache,
    problem is, nginx not actually cache the backend.

    Opposite, you need to exclude wp-admin from nginx.
    Now i don’t see any conflict,
    except that: sometime when you open 5 pages, (to edit as admin, not costumer)
    you get server overload.

    I think maybe need to exclude docket cache from nginx.
    I be happy to know from you, if this actual file and folder, can conflict with nginx,
    even after i excluded in nginx, the URL:
    /wp-admin

    I sure you know better than me, this why i asking.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    I’m doing fine, thanks for asking.

    /wp-content/cache/docket-cache
    It is a folder where Docket Cache stores its cache file. You can find a file with the format XXXXXXXXXXXX-XXXXXXXXXXXX.php in there. For example “18958e30bdca-66f041e16a60.php”, where 18958e30bdca is a cache group and 66f041e16a60 is cache key.

    /wp-content/object-cache.php
    It is a WordPress Drop-In file that handles object caching. Without this file, Docket Cache can’t do caching.

    There is no effect if excluding “/wp-content/cache/docket-cache” or “/wp-content/object-cache.php” since this two are not involved with the page caching. Nginx with FastCGI cache only does page caching.

    From your website, it seems you’re using “cache-enabler” plugins for page caching. Sometimes a server will overload when page caching plugins regenerate its cache file. Maybe you need to increase the cache expiration.

    I hope this answers your question.

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    Ok, here you’re little wrong.
    First, the problem is not in the front.
    Problems start to overload the server in the backend when you edit pages, for example:
    try edit 10 pages in the same time, server get overload.

    For the record, when i turn off your plugin, i can easily edit 10 pages in the same time.

    And the must important:
    cache enabler cache only pages on the front, not admin sections.

    Your plug in is the only plugin to cache admin objects.
    When you turn off your plugin, you can edit 10 pages in one time.

    Now, i use cPanel with Engintron (NGINX Plugin design for cPanel)

    Nginx caches this folder.
    In dynamic and in static cache, nginx produce.

    You try run -cUrl you will see response come from NGINX.

    The overload is because NGINX utilize the backend, make cache for the backend, because of this folder.

    If you not believe me:
    https://github.com/engintron/engintron/tree/master/nginx

    get inside proxy_params_static
    and
    proxy_params_dynamic,
    you will understand these folders actually get read by
    Nginx (Engintron)

    Not only Engintron, any NGINX on Fast CGI read these folders…
    It is no matter, NGINX / ENGINTRON read all the folder and create another cache of your plugin.
    Inside NGINX.

    ANY NGINX, NOT ONLY ENGINTRON.

    If you can look on what i sent you,
    you can see Engintron inside the Dynamic cache, excluded any possible PHP.

    If you be able to excluded nginx via php string, the engintron will not cache the admin backend. (generally better excluded nginx from php, php is heavy)

    It will be better,
    look on what i send you.
    By the way: cPanel + Engintron is the must clients in the world use it (70% use cPanel and 40% from this use Engintron as Nginx.)

    Now as i said, i can do it by my self throw Engintron,
    but i prefer to keep everything default.
    Why?

    This because have updates. And any update, something change.
    It’s better if your plugin will support it by default.

    I tell you that because your plugin is amazing, but still the plugin must
    improvement and he will be a PERFECT, like AO and Cache enabler.

    Now important thing, is the plugin actually helping to the server when you NOT EDIT
    or work in the backend.

    Problem accrue when you want to work on several pages in one time,

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    Thank you for your explanation. Noted about the issue and try to improve it. You may disable “object caching” when editing pages. It seems it is only a solution for right now.

    By default, Engintron Nginx proxy_params_dynamic configuration will ignore WordPress Admin when has authentication cookie. You may refer here at line 38: https://github.com/engintron/engintron/blob/master/nginx/proxy_params_dynamic#L38

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    i will wait for the fix, hope this update will come soon, i turn off the plugin for now.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    @123nadav

    I can’t replicate the issue, but I try to improve it. You can try the next release here https://docketcache.com/devtest/docket-cache-21.08.xx-dev1.zip

    Thanks.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi @123nadav

    If you have time, please try this https://docketcache.com/devtest/docket-cache-21.08.05-devfix9.zip devfix, it has fixed some bugs in release version 21.08.05 and I believe it solves your issue with bulk editing of posts/pages.

    Your feedback is most welcome.

    Thanks.

    • This reply was modified 3 years, 11 months ago by Nawawi Jamili.
    Thread Starter Nadav Levi

    (@123nadav)

    I very want to install it, but i install Redis on the servers :\

    I believe your plugin will not work with Redis…
    They have a particular plugin for WordPress to connect to the Redis server.

    I sure it will conflict because the plugin use the object-cache.php drop in:
    https://es.wordpress.org/plugins/redis-cache/

    I am sorry, i was waiting for 3 weeks, and as you know Redis is very powerful.
    Sorry again, i was very liked your plugin, i think is very useful.

    Not everyone has the knowledge to work with Redis (even me, i am new on that)
    Your plugin was working on my sites for a year and half, and he was very good.

    i put your review 5 star, thank you for thinking about me and helping me on this subject.

    Appreciate that.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Ok then, glad to hear that.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Docket Cache Folder and NGINX.’ is closed to new replies.