- 🇮🇳India YogeYoge
Hi,
I am sharing a quick fix which worked for me.
Findings:
Once a page is cached the Voting API response is also cached so the updated count values will not be displayed after page refresh.
Where as after clearing cache the updated count will be visible.Solution
On click of the like button store the updated value in cookie using jquery. After page refresh read the cookie count value and update the data.