• Resolved ask26

    (@ask26)


    I want to disable the static cache. There is a folder in can see in wp-content folder name “mmd-cache”. How to stop this to create

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hello @ask26,

    Thank you for reaching me πŸ‘ Well I need to make a tiny feature like a constant to disable the cache. I’ll do my best to take a look this week-end.

    Meanwhile, if you are in a hurry, you can prevent the HTML static cache files by editing the following file :

    /wp-content/plugins/markup-markdown/includes/markup-markdown/core/parser.php

    Around line 20 replace ‘cached_post_markdown2html‘ by ‘post_markdown2html‘ and you are good πŸ˜‰ Like this :

    add_filter( 'post_markdown2html', array( $this, 'post_markdown2html' ) );

    About the folder itself for now you can’t delete it because the folder is auto-generated as a few settings are saved staticly into it. But you can safely remove all the *.html files inside and keep the php files only.

    Kind Regards

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @ask46

    I’ve just released v2.5.0, and there should be an option inside the Screen Options from the Settings Panel to disable the HTML static files cache:

    /wp-admin/options-general.php?page=markup-markdown-admin

    The folder mmd_cache is required by the plugin to work and will remain with a few configuration files inside. πŸ‘Œ You can safely delete the html files manually. πŸ™‡β€β™‚οΈ

    I hope this release will solve your issue. Best regards,

    Peter

    Thread Starter ask26

    (@ask26)

    Hi
    Looks like plugin starts giving weird behavior after this update
    When I uncheck the disable op cache its broke the things on admin’s side where we add the content. I am attaching the screenshot.

    https://prnt.sc/eO4SY_85XPkk

    https://prnt.sc/_ZhNWEht6jUf

    Thanks

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Hey @ask26,

    Thank you for getting back to me. Looking at your screenshot you activated the SummerNote WYSIWYG or there is a glitch with the update. This addon is an experimental input mode. If you uncheck the box, the default builder based on EasyMDE should come back πŸ˜‰.

    I’m gonna do some tests again on my side as well with a clean install to make sure it’s not a side effect.

    Keep in touch

    Peter

    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    Poke @ask26,

    Indeed the default options were not saved properly… πŸ’¦I’ve just released a new version, meanwhile if you just re-saved the options from the admin screen that might work. Otherwise please try to upgrade to the latest version 2.5.1 πŸ™‡β€β™‚οΈ

    I apologize for the inconvenience, and hope you will be able to use the plugin again. 🀞I’m glad you found it ’cause it would be a bad experience for the other users as well. πŸ˜₯

    Have a wonderful day, and feel free to spread the world if it’s working for you πŸ’ͺ

    Kind Regards,

    Peter

    • This reply was modified 2 years, 6 months ago by Pierre-Henri Lavigne. Reason: Adding the version number
    Plugin Author Pierre-Henri Lavigne

    (@peter202202)

    @ask26 I haven’t heard from you, and version 3 has been released.
    I hope that everything’s fine and that you could keep your journey with Markup Markdown. I’m gonna close this ticket and mark it as solved, feel to reopen a new one if need be.

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

The topic ‘How to disable Static Cache for posts’ is closed to new replies.