Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile cache and separate mobile cache filters arenot working probably in some cases #7060

Open
Mai-Saad opened this issue Oct 25, 2024 · 0 comments
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

Comments

@Mai-Saad
Copy link
Contributor

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:

  1. Disable separate mobile cache using filter
  2. Fresh install WPR 3.17.1
  3. Visit the mobile version of a page and hard refresh multiple times
  4. Check the cache folder ==> mobile version of cache is created

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):

  • OS: Ubuntu
  • Browser Chrome Version 125.0.6422.141
  • WP 6.6.2
  • env: new.rocketlabsqa.ovh

Additional context
Add any other context about the problem here.

@Mai-Saad Mai-Saad added 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 labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant