Plugin Support
qtwrk
(@qtwrk)
please go to LiteSpeed Cache -> General -> Server IP
leave it empty or use IPv4 addr
@qtwrk Thank you very much. It is now working and I can evidently see and feel the speed of my pages.
These are my crawlers https://prnt.sc/BQNDt-Cq3yqN and my website is a private community mostly for logged-in users.
Does it make sense to turn off the Guest crawlers? I only need my homepage to be cached for guests or is homepage automatically cached?
Thank you.
Plugin Support
qtwrk
(@qtwrk)
no , guest crawler is something else, that’s for the feature Guest Mode , for login user you need to use ESI + role simulation
Thank you.
How about the mobile caching? I do have a mobile app created using BuddyBoss and it has pages that opens via Webview.
If Mobile Cache is disabled, webview is caching the webview page after 2 visits. But caching is lost once the app is closed.
If Mobile Cache is enabled, there is no webview caching at all.
Is there a proper configuration to make this work? Thank you.
Plugin Support
qtwrk
(@qtwrk)
I am not familiar with mobile app thing
how exactly does that work ? it’s like headless client ? or just browser-like app that dedicated to your URL only ?
Hello,
It’s an app built using BuddyBoss (https://www.buddyboss.com/mobile-app/)
It’s built using React Native. There are native pages and there are pages as well that can open as “Webview”. It’s like a web browser inside the app.
The Webview pages only caches after 2 or 3 visits, and when the app was closed – it’s like the cache resets.
I have sent login credentials to test the app via:
- Report number: IYPZEEPP
- Report date: 04/17/2023 01:29:00
To Test: Go To More > Dashboard
- On first visit, it loads around ~3 secs.
- On second visit, it loads around ~3 secs.
- On third visit, it loads around ~1.5secs.
- And when the app is closed, the cache is gone and would load ~3 secs again.
Thank you.
Plugin Support
qtwrk
(@qtwrk)
hmmmm? I wonder what does it request to ?
like a headless WP REST response and then use app to form the page ? please try obtain the URIs it requested to
Hello @qtwrk
Here’s the response I got for this from BuddyBoss Support:
I understand your concern regarding the issue you are facing. I have checked on the issue and found that the web view in the app is being processed through the use of a query parameter in the URL. For example, if the web-view URL is “https://example.com,” it’s accessed via the app as a URL of “https://example.com/?mobile-page-mode=1“. if LiteSpeed can allow caching on query parameters like this, we hope the pages will also be cached when accessed via the app.
What do you think @qtwrk ? Thank you.
@qtwrk Hi, any opinion on this? Thanks
Plugin Support
qtwrk
(@qtwrk)
what do you see if you access any page with ?mobile-page-mode=1 ?
It’s a normal page. Within an app, it’s called Webview. https://www.kirupa.com/apps/webview.htm
Pages within a webview are not being cached unlike pages in a desktop browser or mobile browers.
Plugin Support
qtwrk
(@qtwrk)
please try enable debug log with that mobile-page-mode as debug include URI and access it by app , then check the log , the log will tell what was going on
I got the logs @qtwrk . Is it okay to post it here?
Plugin Support
qtwrk
(@qtwrk)
https://paste.ubuntu.com/
you can put it here and share the link , you may strip any sensitive info like your IP or site domain if you wish.