Tagged: Prime Cache
-
AuthorPosts
-
May 26, 2021 at 12:45 pm #38508KirillGuest
Hello.
Our website is https://fitzona.com.ua/
It uses a single WordPress template that loads individual layouts on a mobile or computer device. For example, if you open website from a computer and reduce the screen size, then you will not be able to automatically open the mobile version – you need to reload the page. The template script determines the screen size before loading and only shows the desired option.I configured Cache Groups:
The preload function does not load the cache automatically when the page is changed or the cache is reset. It is necessary for the user to visit the page from a mobile device to generate a cache.
How to automatically generate cache for mobile devices?
I guess we don’t need Cache Groups here as we are NOT using separate templates for different layouts. Here is something else the problem.Thank you!
May 26, 2021 at 12:48 pm #38519Marko VasiljevicKeymasterHello Kirill,
Thank you for reaching out.
As I explained in the previous post the cache is the same for all user agents it’s just displayed accordingly.
Now I’ve checked your website and I am not seeing the issue you are describing. I’ve checked on both mobile and desktop (Tried to reduce the screen size) however I am not experiencing the issue and the mobile page loads as it suppose to and changing the page size is showing the mobile/tablet page automatically without needing to refresh the page.
Thanks!May 27, 2021 at 10:55 am #38521KirillGuesthttps://mega.nz/file/uFs2WZZT#X-88ataoxwDOdKUD4aX90kRDXqdcOIgX0SZBXQEbzi4
Hello.
Please check this video.
It is for product page but you checked main page, I think.It is necessary to cache all versions (PC, mobile, tablet) in PRELOAD cache mode. Now, preload works for the PC version ONLY. The mobile and tablet versions are created only at the moment the user open this page first time.
That is, the cache is created for all versions, but automatically (Cache Preload option) this happens only for the PC layout.
May 27, 2021 at 10:58 am #38542Marko VasiljevicKeymasterHello Kirill,
I’ve checked the video and now I understand what you are saying, however, this has nothing to do with cache preload.
This is simply the issue with the theme and how it reacts when choosing different user agents via desktop.
Checking the website on mobile indicates that everything is working perfectly as every time the website loads fast on mobile and with no styling issues.
Thanks!May 28, 2021 at 12:41 pm #38553KirillGuestHello.
I think, you misunderstood.
I pointed out different versions for mobile, tablet and PC version.
In the preload cache mode, only the computer version is automatically cached. With the current settings, the versions for the tablet and mobile device are not automatically cached, but only upon the user’s visit to this page.
It is necessary that separate versions be created for the mobile and tablet views.When the cache expires, the new user from the computer will see the cached page (since the preload cache mode is enabled), and the user from the mobile will wait a long time for the page to load for the first time, since the mobile page was not cached in automatic mode.
May 28, 2021 at 12:44 pm #38590Marko VasiljevicKeymasterHello Kirill,
As I’ve mentioned before, the preloaded cache is the same for all user agents.
Can you please share any evidence to support your statement?
Thanks! -
AuthorPosts
- The topic ‘Mobile Preload’ is closed to new replies.