Title: Static HTML cache
Last modified: May 24, 2018

---

# Static HTML cache

 *  [DrLightman](https://wordpress.org/support/users/drlightman/)
 * (@drlightman)
 * [8 years ago](https://wordpress.org/support/topic/static-html-cache/)
 *     ```
       <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](https://wordpress.org/support/users/drlightman/).
    -  This topic was modified 8 years ago by [DrLightman](https://wordpress.org/support/users/drlightman/).

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

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [DrLightman](https://wordpress.org/support/users/drlightman/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/static-html-cache/)
 * Status: not resolved