- This topic has 7 replies, 2 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
August 8, 2021 at 7:22 am #1888000
Karsten M. e.K.
Hi there,
I am using ezoic and I have trouble with loading the off canva menu, while also having activated the script delay from ezoic leaps…
So, that means, that user has to wait a few seconds (feels like a long time in sense of usability), until off canva opens and slides in.
It seems to me, that off canva menu is waiting, for the whole page loaded completly, have an idea, how I can fix this?
I tried already to have still activated script delay in ezoic, but the problem still remains…
Thanks and best regards
MichaelAugust 8, 2021 at 8:06 am #1888217David
StaffCustomer SupportHi there,
the issue will be related to the Script Delay function in Ezoic.
With that option disabled, clear any Ezoic and Browser caches to make sure it works correctly.Then speak to Ezoic and ask them how to exclude scripts from the Script Delay feature.
The name of the script file the off canvas uses is:offside.min.js
I am not sure if its also deferring the loading of the CSS files, if it is – then CSS file is called:offside.min.cssAugust 8, 2021 at 9:15 am #1888277Karsten M. e.K.
Hello,
yes, exactly the script Delay function is the problem.
I can set in Ezoic that the script should not be loaded with a delay, but unfortunately that doesn’t help (even if the cache is deleted and deactivated).
I also set the CSS as critical, that also has no effect, my last idea is the following:
There is a checkbox with which you can set that scripts that are marked with: “no-defer” may not be loaded with a delay. Is there a place where I can set this in GP.
If not, I’ll probably ask Ezoic support why it doesn’t work.
Thanks and best regards
August 8, 2021 at 10:00 am #1888315David
StaffCustomer SupportThis user had a similar requirement, and he provided how he added the exclusions to Ezoic here:
https://generatepress.com/forums/topic/add-data-cfasyncfalse-to-gp-js-files/#post-1829852
August 8, 2021 at 10:47 am #1888339Karsten M. e.K.
Thanks, I tried the same way, so I put the script to ezoic’s Script Delay Exclusion Rules settings, but the behaviour didn’t change.
I contacted the support, so hopefully tommorow, I have new ideas.
I will post solution in this thread.
Best regards!
August 8, 2021 at 1:11 pm #1888422David
StaffCustomer SupportLet us know 🙂
August 31, 2021 at 2:58 am #1913636Karsten M. e.K.
Hi there,
after many days ezoic fixes that in Leap, not that stable, all 2 or 3 days I have to delete the Cache, but ok, it works mainly.
Thanks!
August 31, 2021 at 5:52 am #1913805David
StaffCustomer SupportGlad to hear they ‘kind of’ fixed it.
-
AuthorPosts
- You must be logged in to reply to this topic.