• Resolved andypp

    (@andypp)


    Hi,

    I’m encountering an issue with my poll setup. I have configured the plugin to show the poll results along with the message “You have already voted” when a user views a poll they’ve already participated in. However, this only works if I manually clear the cache via WP Super Cache. The issue occurs regardless of whether I choose “IP” or “cookie” as the user detection method.

    I should mention that I integrate the polls directly into my blog posts.

    Is there any way to fix this so that the results display correctly without needing to clear the cache every time?

    Thanks for your help!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jasmine

    (@hyenokian)

    Dear @andypp,

    Thank you for your topic.

    It seems likely that your page is using strong caching.
    Each time it loads, the cached HTML is being opened, which may be causing the issue you’re experiencing.

    If possible, please disable the static HTML (PHP) caching.
    Also, please exclude the specific link where the given poll is located from the caching plugin settings and test the case again.

    Please let us know if this resolves the issue.

    Thank you.

    Thread Starter andypp

    (@andypp)

    The polls are integrated directly into the articles, which are the most important and frequently visited pages on the site. Therefore, excluding the articles from caching isn’t a viable option as it could negatively impact performance.

    Since the articles need to be cached, it seems that the only option is to reduce the cache expiration time.

    Do you think this approach could work, or would you recommend any specific settings or alternative methods to balance caching performance with dynamic poll updates?

    Thank you for your assistance!

    Plugin Support Jasmine

    (@hyenokian)

    Dear @andypp,

    Thank you for your reply.

    Please note that the specified section is dynamic content.
    When using caching, it loses its dynamic nature, as the static cached HTML of the page is loaded each time.
    Changes only take effect after clearing the cache.

    Unfortunately, we cannot offer an alternative solution that allows dynamic functionality to work seamlessly with strong caching in this case.

    If you have any further questions or need assistance, please let us know!

    Thank you.

    Thread Starter andypp

    (@andypp)

    Thank you for your response.

    I understand the limitations regarding dynamic content and caching.

    I would also like to mention that I’ve discovered the issue occurs only on mobile browsers (iOS Safari and Chrome, in my case). On desktop (Chrome), when I reload the page after voting, the results are correctly displayed according to the settings.

    If this additional detail helps in any way, please let me know.

    Thank you again for your assistance!

    Plugin Support Jasmine

    (@hyenokian)

    Dear @andypp,

    Thank you for your reply.

    Can you please provide us with the following information so that we can check your case?

    1. A video demonstrating the issue you mentioned, as well as a short video showing where it works correctly.
    2. Do you have separate cache enabled for mobile devices?
    3. When testing, please confirm whether you are logged in or using the site as a guest.

    We recommend trying to exclude the page with the poll that has the problem from the cache plugin settings and see if that resolves the issue.

    Looking forward to hearing from you.

    Thank you.

    Thread Starter andypp

    (@andypp)

    Thank you for your detailed response.

    I apologize for the confusion. After further testing, I realized that I was not logged in on mobile and was logged in on desktop. Since my caching settings are configured to bypass the cache for logged-in users, this explains why the issue didn’t occur on desktop, as I was seeing the non-cached version of the page.

    I’ll try adjusting the cache expiration time for non-logged-in users.

    Best regards,
    Andy

    Plugin Support Jasmine

    (@hyenokian)

    Dear @andypp,

    Thank you for your response.

    As we understand from your response, the issue has been resolved.

    If you have any other questions, please feel free to open a new topic.
    If the query is unresolved, drop us a line and we’ll get back to you at the earliest and the ticket will be re-opened.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.