• Hello,
    I’ve got age gate on a site, but it seems like it loads up last behind all the other page content, which means that in some cases it takes 5-10 seconds for it to appear. It would actually be very useful to have it load up first. Am I diagnosing this properly? Is there anything that can be done about it?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @jonathanappleseed,

    This isn’t an age gate issue as such, it’s more down to the the amount of things that are happening before age gate gets chance to load and to it’s stuff. The whole page is loading 2.3Mb of data.

    If you have a look at a google page speed test then it’ll give some tips to fix some of these things. The nature of how Plugins in WordPress work (each giving their own css, javascript etc) can make this tricky.
    https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.eagleeyeonlinedispensary.com%2F&tab=desktop

    There are some plugins out the to optimise images (Smush, TinyPNG etc) and also to concatenate all the css and javascript (Merge + Minify + Refresh) which should aid your speed.

    I would definitely try these things in a non-live environment.

    You could switch to the Standard version rather than the JS version as that would probably be faster. But if you’re running caching that’s probably not the way to go.

    Let me know if any of that doesn’t make sense.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘Serious loading delay…’ is closed to new replies.