• Resolved florinb1

    (@aventurescu)


    Hello,

    I have a very simple webview app which loads a responsive version of my website. When litespeed is enabled, the homepage in mobile app is not refreshed when I first open the app. I need to click back and forth in the site, in order to see the updated homepage.

    When I disable litespeed, the homepage works fine and is updated normally, but it take ages to load without litespeed. I also tried enabling Mobile Cache. Same issue..

    Any ideas?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @aventurescu, can you describe more about how the homepage in mobile app is not refreshed when I first open the app? How can trigger the refresh? And please provide your Report Number, found in WP Admin > LiteSpeed Cache > Report.

    Thread Starter florinb1

    (@aventurescu)

    Hi Stanley,

    So basicaly my android webiew app is a copy of aventurescu.ro.
    https://play.google.com/store/apps/details?id=webviewgold.gold.webview.onlineappcreator.com.app9986275

    Whenever I publish a new post in wordpress and then I open the android mobile app, I don’t see the newly published post on the homepage, even after a few times closing/opening the app.

    If i click on the top logo which links to https://aventurescu.ro, the homepage is updated with the newly published post.

    This does not happen with litespeed module disabled or if I add an exclude targeting mobile app user agent. It would be an easy fix to disable litespeed, but the mobile app is very slow without litespeed enabled. Same goes for the website.

    Report number: TRINXKBH
    Report date: 12/30/2019 16:50:45

    Thanks,
    Florin

    • This reply was modified 4 years, 3 months ago by florinb1.
    • This reply was modified 4 years, 3 months ago by florinb1.

    We’ve checked on an Android device but the content seems to align with the website version, could you help me to do some testing on cache purge after page update?

    1) Try to purge all LiteSpeed Cache and check does it updated
    2) Purge all Cloudflare cache on LiteSpeed Cache > Manage > CDN and check does it updated
    3) Set Cloudflare in development mode on LiteSpeed Cache > Manage > CDN and check does it updated

    We’d like to confirm is that cache caused by Cloudflare, LiteSpeed Cache or Browser cache.

    Thread Starter florinb1

    (@aventurescu)

    Hi Stanley,

    Thanks for the support.

    So, I created a new Test article and then followed the steps below, that you provided:

    1. Purging Litespeed Cache does not fix the issue.
    2. Purging all Cloudflare cache does not fix the issue.
    4. Setting Cloudflare in development mode does not fix the issue.

    When opening the mobile app, the only way to see the newly created Test article was to click on the mobile top logo and refreshing the homepage.

    So far the only way this issue is solved 100% is this way:
    1. Either disabling litespeed cache
    2. Setting an exclude for the mobile app (by user agent string) in Litespeed settings.

    Also, uninstalling the app and reinstall it does not refresh the app homepage content.

    Hope this helps,
    Florin

    • This reply was modified 4 years, 3 months ago by florinb1.

    Thanks for the update, could you please join our Slack channel and find me(Stanley Cheung at Litespeed) for helping us to reproduce the bug, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Homepage in webview app does not update when litespeed is enabled’ is closed to new replies.