• Resolved sarahdxw

    (@sarahdxw)


    Thank you for making this plugin available.

    I notice that private, no-store, max-age=0 is set on Markdown pages and I’m wondering if there are plans to make that configurable?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rich Holman

    (@dogwonder)

    Hi Sarah,

    Thank you. Yes, great idea. We’ll look to add a markdown_for_agents_cache_headers filter.

    So could do something like:

    $headers['Cache-Control']  = 'private, no-store, max-age=0';

    This would allow people to set it per their needs, in functions.php or similar. But not in the admin as feels like an advanced config route.

    Will aim to get this up in a the next couple of releases.

    Plugin Author Rich Holman

    (@dogwonder)

    We’ve just released version 1.5.1 which allows the configuration of Cache-Control now. See the readme, markdown_for_agents_cache_headers() filter hook. Please let us know how this goes.

    Thread Starter sarahdxw

    (@sarahdxw)

    Hey, I just wanted to say thank you for doing this so speedily!

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

You must be logged in to reply to this topic.