- This topic has 21 replies, 4 voices, and was last updated 1 year, 9 months ago by Fernando.
-
AuthorPosts
-
July 6, 2022 at 12:57 am #2274496Philippe
Hi,
My website is onehomeplanet.com
The menu may or may not work on a smartphone screen. It seems to be totally at random (is this a clue?).
Thanks for your help,
Philippe
July 6, 2022 at 1:50 am #2274533Fernando Customer SupportHi Philippe,
More often than not, issues like these stem from a specific setting in optimization/caching settings.
As a first course of debugging, can you try temporarily deactivating any caching/optimization plugins you have like autoptimize?
If the issue disappears, we’ll be able to confirm that a specific optimization/caching is causing the issue.
Usually, these issues are caused by any combination/minification of JS. Try disabling any JS optimization like this in your optimization/caching plugins.
Clear all caching mechanisms set in your website afterwards. Clear CDN and server side cache as well: https://share.getcloudapp.com/E0uyg0QA
Kindly let us know how it goes.
July 6, 2022 at 3:28 am #2274600PhilippeHi Fernando,
I have deactivated Autoptimize and Super Page Cache for Cloudflare. These are all the cache features I have. The menu now works on my smartphone (as well as the scroll back up button).
Can you guide me on what to check out first when reactivating the plugins?
Thank you.
July 6, 2022 at 5:45 am #2274718DavidStaffCustomer SupportHi there,
don’t activate any Javascript optimizations in Autoptimize or any of the other plugins.
If the menu works ok, then enable the JS optimizations one by one.July 6, 2022 at 6:32 am #2274762PhilippeHi David,
It is a mess.
The website menu will remain fully activated on a smartphone, only if I totally deactivate both Autoptimize and Cloudflare plugins.
July 6, 2022 at 6:58 am #2274782PhilippeThe Cloudflare plugin I am referring to is Super Page Cache for Cloudflare, not the Cloudflare plugin itself. I am going to see what I can find on the Cloudflare side.
July 6, 2022 at 7:30 am #2274803DavidStaffCustomer SupportI would suggest you speak with Autoptimize, Frank ( the author ) should be able to advise on the best settings for it to work with the Cloudflare super page cache.
July 6, 2022 at 7:35 am #2274814PhilippeOk.
July 6, 2022 at 7:38 am #2274821DavidStaffCustomer SupportLet us know how you get on!
July 6, 2022 at 7:50 am #2274986PhilippeI will. 🙂
July 6, 2022 at 8:21 am #2275055PhilippeThere is progress.
I found this: https://flashlearners.com/autoptimize-configuration-settings/
And did that: Disable Minify on Cloudflare: Untick JavaScript minify, CSS Minify and HTML Minify.
Now the website menu and the scroll back up button work on posts on a smartphone screen, not on pages. Any idea why would that be?
July 6, 2022 at 9:58 am #2275129YingStaffCustomer SupportHi Philippe,
Just tested your site on my phone, and it seems the menu still doesn’t work.
It looks like some JavaScript is messed up by the cache plugin.
Please try to do more testing with your cache plugin or reach out to the cache plugin’s support.
July 6, 2022 at 10:12 am #2275158PhilippeHi Ying,
My only cache plugin is Autoptimize. I let them know I need to get in touch with them.
July 6, 2022 at 10:21 am #2275177YingStaffCustomer SupportHum…it looks like the site is using Super Page Cache’s cache:
https://www.screencast.com/t/kbZNkVAQyeAJuly 6, 2022 at 10:30 am #2275185PhilippeThat’s Cloudflare Super Page Cache. There is nothing about Javascript in its settings. I am going to check if I could get rid of this plugin entirely.
-
AuthorPosts
- You must be logged in to reply to this topic.