• wp_dsp

    (@davidspeyer)


    On first load everything seems to work fine. But when I click on “Accept All” (cookies), the site is beeing reloaded (which is intended) and does not seem to be cached. Is this normal?

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emre Vona

    (@emrevona)

    which cookie plugin are you using?

    Thread Starter wp_dsp

    (@davidspeyer)

    I use the internal privacy plugin of the Uncode theme

    Plugin Author Emre Vona

    (@emrevona)

    I’m telling my guess: when a visitor accept it, a cookie is set, so cache is disabled for the user. There is nothing to do on our side.

    Thread Starter wp_dsp

    (@davidspeyer)

    Hi Emre,

    thanks for your help!

    But is cache automatically disabled, when a cookie is set? Or in other words, is it not possible to deliver cached pages, after a user agrees to cookies for example to be able to load YouTube videos afterwards?

    Just for your information:
    In WP Fastest Cache settings (Exclude) I added youtube and spotify to the rules. Otherwise the YouTube and Spotify embeds on my front page, which should only be loaded, when the user agrees, would not properly work.

    Plugin Author Emre Vona

    (@emrevona)

    But is cache automatically disabled, when a cookie is set? Or in other words, is it not possible to deliver cached pages, after a user agrees to cookies for example to be able to load YouTube videos afterwards?

    yes, cache is disabled automatically. I do not have any idea about the relation between cookies and youtube.

    Just for your information:
    In WP Fastest Cache settings (Exclude) I added youtube and spotify to the rules. Otherwise the YouTube and Spotify embeds on my front page, which should only be loaded, when the user agrees, would not properly work.

    thank you so much.

    Thread Starter wp_dsp

    (@davidspeyer)

    Thank you!

    Is it posible (or does it make sense) to deliver cached pages only for users, who accepted all cookies?

    My problem is, that my site is not really interesting without Spotify and YouTube and I think, that most of the users are going to accept those cookies. So it would be much better, if the cached version would be the one after a user accepts all cookies.

    Plugin Author Emre Vona

    (@emrevona)

    can you disable the “Logged-in users” option of wp fastest cache and try please?

    Thread Starter wp_dsp

    (@davidspeyer)

    Sorry, but this does not solve the problem.

    Perhaps it is better that the page loads quickly when you first open it. It is probably not possible to keep two cache versions?

    Version 1: Cookies were not accepted and no scripts (e.g. Spotify and YouTube) are loaded.

    Version 2: All cookies are accepted and all scripts are loaded.

    Plugin Author Emre Vona

    (@emrevona)

    we need to find out which cookie is set when a user accepts it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not cached version after cookie accept’ is closed to new replies.