• DrLightman

    (@drlightman)


    <script type='text/javascript'>
    /* <![CDATA[ */
    var cnArgs = {
    "ajaxurl":"https:\/\/www.XXXXXX.it\/wp-admin\/admin-ajax.php",
    "hideEffect":"fade",
    "onScroll":"yes",
    "onScrollOffset":"100",
    "cookieName":"cookie_notice_accepted", // <--- ???
    "cookieValue":"true", // <--- ???
    "cookieTime":"15811200",
    "cookiePath":"\/","cookieDomain":"XXXXXX.it",
    "redirection":"",
    "cache":"1",
    "refuse":"no",
    "revoke_cookies":"0",
    "revoke_cookies_opt":"automatic",
    "secure":"1"
    };
    /* ]]> */
    </script>

    I can’t belive you’re writing the cookie value in there? So all users accessing that cached page will never see the cookie notice banner?

    I’m using WpSuperCache plugin to generate static cached html files.

    • This topic was modified 8 years ago by DrLightman.
    • This topic was modified 8 years ago by DrLightman.

The topic ‘Static HTML cache’ is closed to new replies.