• Resolved urshadow

    (@urshadow)


    Hi

    While logged in in my WP admin panel, if I make a comment on a post, it does not display on page refresh. This comment is made correctly, it can be seen in the comments section of WP and can also be seen if I load the URL in incognito mode (without login).

    I deactivated my cache optimization plugins but the issue was not fixed, as soon as I deactivated this plugin, the issue got fixed and as soon as I reactivated it, the issue returned. I also disabled Pre Caching feature of this plugin but still, it did not fix the issue.

    If I load URL https://theclearevidence.org/aspects-of-life/islamic-months/ramadan/ramadan-mubarak-1441h-2020/#comment-1350

    it shows: https://www.screencast.com/t/VgWLvuNHbwFe (all the latest comments are missing)

    but in actual, it should show: https://www.screencast.com/t/aSvwEXdm (loaded in incognito)

    I have also signed out and signed in WP admin panel but only deactivating this plugin fixes the issue.

    Plz have a look, thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Magazine3

    (@magazine3)

    We understand your issue, by default PWA is working as cache first strategy, it means to load the content first from the cache.
    you can check in this tutorial https://pwa-for-wp.com/docs/article/what-is-caching-strategies-in-pwa-and-how-to-use-it/

    For the updated content we recommend use “network first” or “network only”.

    Thread Starter urshadow

    (@urshadow)

    Thanks for the clarification.

    For displaying updated comments, the Default caching strategy to “network first” would be enough or I need to update the Caching strategy for CSS and JS Files, Caching strategy for images and Caching strategy for fonts to “network first” as well?

    I am using native WP comments.

    Also, would these changes instantly appear in all installed PWAs or I need to Force Update Service Worker?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Comments on posts not updating with this plugin active’ is closed to new replies.