• Resolved NanoWisdoms

    (@nanowisdoms)


    I’m using Hypercache and it seems that the “Poll Logging Method:” option doesn’t work too well with it. I cleared out the cache and then visited a post. The poll form appeared and I voted. The results appeared. Then I went to another page and the results are shown (because I was logging by cookie and had voted). So far so good.

    Then I came back to my original page and Hypercache served up the form again, instead of the results (since I’ve voted). While other visitors going to my second page (above) are served up the results instead of the form.

    Any suggestions?

    http://wordpress.org/plugins/wp-polls/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Your first paragraph is expected that is because when the first time the page loads, you have not voted yet and hence Hypercache caches the “non voted” form, but when you moved on to sequential pages, you have voted and hence, you are served with the “voted” form.

    WP-Polls will not work with any caching plugin, unless you explicitly states not to cache wp_pollsa, wp_pollsq, and wp_pollsip.

    For W3TC, those settings are under “Ignored query stems:” under Database cache. I am not too sure about Hypercache because I have not sed it before

    Thread Starter NanoWisdoms

    (@nanowisdoms)

    Hypercache has an option to turn off caching for users with a specific cookie. If I do poll logging with cookies perhaps this would work. Can you provide me with the WP-Polls cookie so I can enter it into HyperCache and see if it works.

    Plugin Author Lester Chan

    (@gamerz)

    The polls cookie name is not fixed, it always voted_{POLL_ID} where {POLL_ID} is the poll ID

    Thread Starter NanoWisdoms

    (@nanowisdoms)

    Ok, that works, but you have to enter in each poll as a separate cookie.

    Perhaps you might want to consider supporting HyperCache as it is very popular and good cache. They have a few API calls you make to disable the cache which you might want to try. The info is at the end of their plugin page here:
    http://www.satollo.net/plugins/hyper-cache

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility with Hypercache’ is closed to new replies.