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