🇮🇳India @YogeYoge

Account created on 15 February 2019, almost 6 years ago
#

Recent comments

🇮🇳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.

Production build 0.71.5 2024