Mobile cache and separate mobile cache filters arenot working probably in some cases #7060
Labels
module: cache
priority: medium
Issues which are important, but no one will go out of business.
severity: moderate
Feature isn't working as expected but has work around to get same value
type: bug
Indicates an unexpected problem or unintended behavior
Describe the bug
1- When separate mobile cache is on, then we visit mobile page and hard refresh before desktop is visited => cache file is added for mobile (however, it is not served later i.e timestamp of desktop is used)
2- When the separate mobile cache is on, the saas warmup after fresh install for priority elements is adding mobile files for home page (or whenever we trigger priority elements warmup)
3- When both mobile cache and separate mobile cache are off then we visit desktop then mobile , the mobile is served from mobile cache
To Reproduce
Steps to reproduce the behavior:
Scenario1:
Scenario 2:
1- Disable separate mobile cache using filter
2- Fresh install of WPR and wait till fetching is done
3- Check cache folder => mobile cache of home is there with desktop
Scenario3:
1- Install WPR 3.17.1
2- Disable mobile cache and separate mobile cache with filter
3- Visit the desktop and hard refresh => page cached
4- Visit the mobile page and hard refresh then check source => WPR signature and timestamp is there
Expected behavior
When the separate mobile cache is off => manual visit of mobile page won't create cache file (mobile page is served from desktop cache)
When the separate mobile cache is off => fetching after fresh install won't create mobile cache files (mobile page is served from desktop cache)
When the mobile cache is off => the mobile page won't have WPR signature
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: