WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] How to cache two different views of page? (3 posts)

  1. Maciej Ku? (maciekkus)
    Member
    Posted 5 years ago #

    Hello,

    How can I force super-cache to cache two different versions of blog page/post depending on some cookie value?

    I have two views: full and short (users select this by setting a cookie).

    Maciek

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    Yes, look in wp-cache-phase1.php at the wp_cache_key action - you'll have to write a cache plugin to do it though. Beware that auto upgrading will delete the whole directory.

  3. Maciej Ku? (maciekkus)
    Member
    Posted 5 years ago #

    ok. thanks..
    I see I have to change .htaccess code slightly too..

Topic Closed

This topic has been closed to new replies.

About this Topic