WP Super Cache
Conflict with Accessibility version (2 posts)

  1. adamatbase
    Posted 5 years ago #

    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.


  2. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic