• Resolved Nadav Levi

    (@123nadav)


    I have a cPanel server on with Nginx.
    on my WordPress have Autoptimize + Cache Enabler.

    Do you think it will work?

    what did you say?

    • This topic was modified 4 years, 4 months ago by Nadav Levi.

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

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

    (@nawawijamili)

    Hi there,

    Technically it should work. Docket Cache is an object caching plugin. It will not interfere with page caching plugins like Cache Enabler or web assets optimization plugins like Autoptimize.

    You can try it first to see if it work with your hosting environment.

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    i have default cPanel with NGINX (Engintron)

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Yes, please try to install and see if it works.

    Thread Starter Nadav Levi

    (@123nadav)

    Working amazing, actually work much better with all the plugins.
    is a kind of PHP editor/controller for the OP CACHE.

    Is better for users this day, don’t need to edit manual stuff everything throws this plugin.
    is good but has only one problem.

    the plugin not adjust himself to the excet configuration have in the WP-CONFIG
    and the PHP.

    My cPanel PHP LIMIT is 512 THE PLUGIN READ ONLY 256.

    configuration done in WP-CONFIG not match your plugin after installation and can
    couse conflicts.

    have a way to adjust the plugin to the current WP-CONFIG? for example:

    in the wp-config i did 7 days trash, your plugin did 30 days.
    things like that.

    if you can help me adjust that without manual configuration is be great.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi, thank you for your compliment and happy new year.

    the plugin not adjust himself to the excet configuration have in the WP-CONFIG
    and the PHP.

    By design, PHP constant can’t be overwritten and Docket Cache only can adjust any constant that is not already defined in wp-config.php. You need to manually remove previously defined constants.

    My cPanel PHP LIMIT is 512 THE PLUGIN READ ONLY 256.

    Docket cache shows “PHP Memory Limit” at Overview page like this,

    PHP Memory Limit:

    The data is manually retrieved from PHP configuration by using the command ini_get(‘memory_limit’)

    WP Frontend Memory Limit:

    We read it from WP_MEMORY_LIMIT, it is WordPress constant and you need manually adjust this setting.

    WP Backend Memory Limit:

    We read it from WP_MAX_MEMORY_LIMIT, it is WordPress constant and you need manually adjust this setting.

    have a way to adjust the plugin to the current WP-CONFIG? for example:

    in the wp-config i did 7 days trash, your plugin did 30 days.
    things like that.

    Currently, we don’t have a plan to adjust entirely what is in the wp-config.php file. Since it will cause a lot of issues if something goes wrong. We only put small code at the bottom wp-config.php before WordPress loads the wp-settings.php file. We called it runtime code.

    Any constant defined before we load our code will be honoured. If your set 7 days trash, it will be 7 days trash. Our 30 days is no effect. The configuration page will show notice “constant already defined or exists in wp-config.php file. This update has no effects” if your try to set “Trash Bin”.

    You need manually remove any constant that Docket Cache try to handle. This is a list of constants that we handle at Configuration RUNTIME OPTIONS.

    Auto Save Interval:
    AUTOSAVE_INTERVAL

    Post Revisions:
    WP_POST_REVISIONS

    Trash Bin:
    EMPTY_TRASH_DAYS

    Cleanup Image Edits:
    IMAGE_EDIT_OVERWRITE

    Disallows WP Auto Update Core:
    WP_AUTO_UPDATE_CORE

    Disallows Plugin / Theme Editor:
    DISALLOW_FILE_EDIT

    Disallows Plugin / Theme Update and Installation:
    DISALLOW_FILE_MODS

    WP Debug:
    WP_DEBUG
    WP_DEBUG_DISPLAY
    WP_DEBUG_LOG

    Hope this will answer your question.

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    Ok, i got it, so i have 2 options.
    to implant the run code.

    and uncomment all these options from my WP-CONFIG.

    It’s not a bad idea, but i am afraid it’s will conflict with Plesk.
    as you know cPanel integrates himself with Plesk for WordPress.

    It’s by default on all the cPanel servers.
    I think if i will give you plugin the control on all of the wp-config, at the same time plesk will get problems and errors. ( Plesk control and rewriting on wp-config as well )

    I will try, but,
    I recommended you to check it ( this is because 70% from the servers today on Linux its cPanel )

    In the worst case:
    I can not implant the run-code and keep the configuration i have on wp-config right now? it’s ok? or recommended installing the run-code for the docket-cache plugin?
    (just search for other alternative just in case run-code will not work for me)

    Excepting that. plugin very useful.
    Should be installed on any WordPress, ( i got it from Query Monitor Plugin recommendation on the interface )

    and happy new year to you too bro.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi,

    I’m taking note of your suggestion. You can try other plugins if Docket Cache is not suitable for your usage.

    Thanks again for your compliment. I’m marking this thread as resolved. Feel free to open a new topic if you have further questions.

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    @nawawijamili
    I really don’t know why you offer me another plugin.
    I told you Docket Cache is amazing…

    I actually loved Docket Cache,
    but
    I simply do not implant the RUN-CODE.( cPanel & Plesk control these options )

    Please, try to understand, i didn’t say something wrong, opposite.
    70% of the server’s clients use cPanel.

    It needs to be the goal of any developer/company, make his application/plugin compatible with the biggest operation system, in the whole world.

    Yes @nawawijamili
    cPanel i one of the biggest ( i think the biggest ).
    after cPanel, number 2 in the world – Plesk ( and they join cPanel btw ).

    I just told you, Docket Cache run-code can conflict with this, and you blow up.
    or got offended, i really don’t know why… :/

    For now, i see everything working properly.

    The only thing i suggest to you.
    is to get rid of the run-code, or at least, an option to work with your plugin 100% without the run-code ( let’s say an option button, as you did to WooCommerce ).

    The plugin is very good, i don’t understand why you got offended.
    I didn’t say anything bad on your plugin, i actually love it.

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi @123nadav,

    I’m sorry if my words mislead you from what I’m trying to say. I want you to know that I’m not offended. Docket Cache is an open-source project, and it is Okay if people want to use it or not. I simply suggest you try other plugins that are specifically made to handle wp-config.php. You may use it along with Docket Cache.

    Docket Cache runtime code it’s only a small part of this plugin. And only to manipulate WP constant as said earlier. It only activates if you click install/update runtime code on the configuration page. It’s tested on a hosting server with cPanel.

    The only lack of is, it can’t change the constant if already have before. This is because the PHP constant only can be set once. The only solution is Docket Cache need to remove any constant set earlier in wp-config.php. This is we don’t have a plan at this moment. The reason is if when we try to update the wp-config.php file and the server is in heavy traffic, chances wp-config.php not fully written can be. This will cause server error 503. And users need manually restore the wp-config.php file.

    This is not because we can, or can’t do. It is because this is the right solution at this time.

    I hope this will answer your question. Thanks again for your compliment.

    Thanks.

    Thread Starter Nadav Levi

    (@123nadav)

    Thanks for your response.

    So i understand it’s ok to use the plugin without the run-code.

    Site’s work perfectly (btw)

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

The topic ‘Plugin can work with Autoptimize + Cache Enabler?’ is closed to new replies.