WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Will this work with WP Super Cache? (7 posts)

  1. pixelkicks
    Member
    Posted 1 year ago #

    Hi,

    I run a site that uses WP Super Cache, but want to start showing the most popular posts on the site.

    How would this work? Is it possible? Obviously as all the site pages are cached there are no database connections so not sure how or if we could use this plug-in.

    Help and advice please.

    Cheers,

    Chris.

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. pixelkicks
    Member
    Posted 1 year ago #

    Can anyone help with this? Really keen to start using some kind of plugin like this.

  3. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi pixelkicks,

    The update to the database is done via AJAX, so it should work. I believe you need to clear the cache before enabling the plugin, so that the AJAX code gets injected on each page before being cached again.

  4. pixelkicks
    Member
    Posted 1 year ago #

    Hi Hector,

    Ok thanks for that, if it works via Ajax then it should be fine with WP-Super Cache.

    I'll test it out and see how it works.

    Chris.

  5. hki429
    Member
    Posted 8 months ago #

    Did other people succeeded in making it work with WP Super Cache?

    If I clear the cache before enabling the plugin (as Héctor suggested), the vistor to that page gets a counted view (since it's not cached yet), but subsequent visitors don't get counted.

    I'm using WordPress Popular Posts 2.3.6 with WP Super Cache 1.3.2 on WordPress 3.5.1.

    I've set the Ajaxify Widget to Enabled, which made no difference.

    Should I perhaps prevent certain files to be cached? If so, which?

  6. Héctor Cabrera
    Member
    Plugin Author

    Posted 8 months ago #

    Hi hki429,

    It's been quite some time since I last used WP Super Cache and theoretically it should work. I'll take a look at it next weekend.

  7. hki429
    Member
    Posted 8 months ago #

    Thanks Héctor, that would be great. Let me know if I can help with testing something.

    (If I exclude admin-ajax.php from caching btw, the problem still occurs.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags