Jun 14, 2023 1:51 pm
Hi guys,
Is there a way that you know of to keep the site cached when new comments are added? It's a bit frustrating to see cache flushed whenever someone comments, which happens a lot.
I am just curious if you know of any workarounds? Maybe load comments dynamically through JavaScript after the cached page has loaded, or something like that?
Best regards
8 Replies
Jun 14, 2023 4:42 pm
Cache is set to be cleared only on posts where comments are made/liked plus the index page, right?
Jun 15, 2023 10:12 am
Got it. Appreciate the help.
Jun 16, 2023 2:46 pm
Another question guys. Is it normal for cache to be flushed for the index page whenever someone likes a comment? Seems a bit unnecessary, but maybe it's expected behavior?