• Resolved kinansy

    (@kinansy)


    few questions please:
    – logged in users may attempt a quiz more than once. So will their second visit be served from cache ? if yes, how to avoid ?

    – if we exclude logged in users, will they still benefits of cached static assets on CF?

    – does the cache everything include object caching ?

    – is the (CDN rewrite) option in plugin like perfmatters, same as static chache in CF ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    logged in users may attempt a quiz more than once. So will their second visit be served from cache ? if yes, how to avoid ?

    – Logged-in users are never provided a cached version of pages. For loggedin users cache status is always be Bypassed. Only normal non-loggedin users will see cached contents.

    if we exclude logged in users, will they still benefits of cached static assets on CF?

    – Loggedin users are excused from caching out of the box. You don’t need to do anything.

    does the cache everything include object caching ?

    – Cloudflare only does page caching and not object caching. And neither does this plugin. For object caching you can try something like Redis.

    is the (CDN rewrite) option in plugin like perfmatters, same as static chache in CF ?

    – You can turn off those options in any of those plugin. That option will give you an option to serve your static files via a CDN you might be paying for like KeyCDN or BunnyCDN etc.

    This plugin will make sure both your HTML pages (the first request) as well as static files all are served from Cloudflare CDN.

    Thread Starter kinansy

    (@kinansy)

    so while excluding logged in users from the cache everything, will they still benefit from the cached static assets on CF?
    Because by default all will benefit from the static cache on CF

    Plugin Contributor iSaumya

    (@isaumya)

    so while excluding logged in users from the cache everything, will they still benefit from the cached static assets on CF?

    – Yes. You don’t have to exclude anything. It’s totally out of the box.

    Thread Starter kinansy

    (@kinansy)

    Please i understand that out of the box logged in users are excluded from (cache everything). But my question is:
    does this exclusion affect their static cache too?

    Plugin Contributor iSaumya

    (@isaumya)

    Please i understand that out of the box logged in users are excluded from (cache everything). But my question is:
    does this exclusion affect their static cache too?

    – No, only the first HTML request that is generated by the server will be bypassed. The static files will continue to be served from Cloudflare CDN.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘exclude logged in users and static cache’ is closed to new replies.