Support » Plugin: WP Super Cache » [Plugin: WP Super Cache] Conflict with Accessibility version

  • I have an accessibility plugin which sets a cookie to “ok” if the user chooses the accessibility option. then if the cookie is set to OK it loads a a different stylesheet.

    The problem I have is that with supercache on, when I navigate throughout the site some pages have the normal stylesheet and some have the new accessibility stylesheet.. there is no consistency.

    ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author Donncha O Caoimh

    (@donncha)

    The accessibility plugin will have to modify the “cache_key” Supercache uses to record legacy cached pages. Check wp-cache-phase1.php and look for wp_cache_get_cookie_values() – there’s a cacheaction you can use there. Also see the developer docs linked from the Supercache documentation.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] Conflict with Accessibility version’ is closed to new replies.