• Resolved thapa.laxman

    (@thapalaxman)


    Hi there,

    It is suprising to see that there is no ‘no-cache’ directive for cache-control/browser cache option. And the one that reads no-cache is very misleading. It actually is no-store. Can you please add no-cache directive and rename no-cache to no-store?
    screenshot

    Thx
    Laxman

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    no-cache Browser Cache option causes the addition of as many options as possible that blocks caching, and it contains no-cache between them:

    Header set Cache-Control: "max-age=0, private, no-store, no-cache, must-revalidate"

    Thread Starter thapa.laxman

    (@thapalaxman)

    @vmarko yes that is what I am trying to say.
    "max-age=0, private, no-store, no-cache, must-revalidate" is not no-cache directive. It is in-fact no-store.The no-cache directive must force caches to submit the request to the origin server for validation before releasing a cached copy.

    Please read my previous comment and if possible please speak with the developers about this issue. It is shame that a super plugin like this has a misleading options and does not provide all the browser cache directives.

    More about cache-control directive @ https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

    • This reply was modified 5 years, 10 months ago by thapa.laxman.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    Naming may be misleading. Our no-cache should be “don’t cache”, but it was renamed so it doesn’t interfere with cache control terminology.
    no-cache alone doesn’t provide stable functionality across the browsers and based on our practice is not usable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The cache-control does not have no-cache directive’ is closed to new replies.