• Resolved Zakir Sajib

    (@zakirstage)


    I have a site where blogging is regular. Installed your app works fine though home screen popup never shows up (not a problem at the moment).

    Yesterday client published a new post but it does not appear in home page and other related pages where the post should be appear. I tried to clear clear data from dev tools of chrome and then it comes.

    But client won’t know how to clear data so i was wondering is there a way to clear application data when a new post is published , deleted, edited. It seems your app pulling cache files.

    I now deactivated your app and now it works.. showing up new post.

    I really loved your app. All the parts work except this tiny part.

    Is there any hook I can use to clear your cache when a new post is published?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Zakir Sajib

    (@zakirstage)

    Ok I think I found it. Its in caching strategy.

    I used before cache first and thats why it wont show latest posts.

    Now I selected Network first and then it shows.

    Plugin Author Nico Martin

    (@nico_martin)

    Hi Zakir

    Yes that makes sence. Great you found the solution!

    Kind regards,
    Nico

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PWA does not clear cache when a new post is published’ is closed to new replies.