• cd

    (@chuffeddeal)


    I am satisfied with the plugin work and it’s best I think. However, I am really concern about updates on my sites. My site is on woocommerce and its required to be update everytime. Could you please help me to choose settings for clearing cache on every single update as this is very crucial.

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

Viewing 1 replies (of 1 total)
  • Sa?a

    (@stodorovic)

    Hi @chuffeddeal,

    It’s more important to you purge OpCache at each update (PHP 7.x). Opcache is part of PHP engine and this action should be handled by WP core or external scripts. It’s tricky and there is WP core ticket 36455 related to similar issues. You could see(#36455) that’s possible to use hook https://developer.www.ads-software.com/reference/hooks/upgrader_pre_install/ to add custom PHP code which will be executed before WP update.

    You could use this or similar hook to purge WPSC cache if you want. I could sent PHP code which purges WP cache, but it could take some time (at shared hosting which limits disk I/O operations) and it could result as script timeout (script executing is too long if cache is big on shared hosting).

    I hope that helps to better understand, but I don’t know how to help you more. You could use preload option to refresh cache more frequently.

    Regards,
    Sa?a

Viewing 1 replies (of 1 total)
  • The topic ‘Clear Cache on every update’ is closed to new replies.