For the site BetsyforMichigan.com, I am displaying live updates of some of the site's settings: total donations, # donors, and # volunteers. However, the values displayed change depending on whether the page viewer is logged in or not. What could possibly be causing this discrepancy?
I am accessing the pertinent information through basic liquid calls, e.g.
1) I've cleared browser caches and refreshed the page, using the most updated versions of chrome, firefox, and IE, to no avail. I can log in and log out 4,5, 10 times, and watch the numbers toggle back and forth, between updated and outdated.
2) The site usually seems to update after I've fiddled inside for a while. It has gone as long as 3 days without updating the logged out view. I've noticed that the logged-out view tends to update after I have fiddled around in the backend for a while (e.g. each time I try to capture a screenshot narrative of the problem).
Anyone have any thoughts to share? I don't mind an update lag, but the 3 day lag concerned me, especially as we were trying to show a running tally of donations for a moneybomb-style donations drive. From the specs, I can't see why there would be any discrepancy between logged-in/logged out totals at all.
Matthew Bertrand
Hi Matthew,
Have you tried clearing the site cache? Outside of clearing browser cache, refreshing pages, and testing different browsers, that's another way to help clear anything on your site that may be sticking - such as the liquid calls you mentioned.
Showing 2 reactions
Sign in with
Pertinent liquid calls:
Here is additional context for those calls, the template for the home page, in which I’ve added code before the call bringing in user content.