hey <@U01NL7HM0SV>, one thing that is a pretty ann...
# general
m
hey @Peer, one thing that is a pretty annoying for us is the very long time for the ca; plugin to load on our platform (it’s a click-to-trigger a pop-up integration). The majority of the users clicks away because the load time takes at least 8-10 seconds on a fast wifi. is this expected behavior?
h
If you are talking about embed popup on click then you can speed it up by preloading https://developer.cal.com/embed/set-up-your-embed#preload
p
are you self hosting or on cal.com?
m
on cal.com (btw we’ve noticed a serious decline in loading speed about a month ago, unsure if it’s you guys or us)
p
whats slow, the entire plugin or just loading the times?
@Mikayel Harut we’re constnatly monitoring speed, anything specific that was slow?
can you link me to your website where the embed is?
m
https://www.loom.com/share/178d8a15e81e42aa84d8b867ddf7c5d1 -> this is typically 1.5-2x slower for us/new users
app.activeloop.ai (but you’d have to register to see it)
the major part comes in the spinner bit, because it’s both the longest load + people don’t know what to expect, so they typically churn
p
thats something @Hariom Balhara can fix
loading the times looks pretty fast. there is some loading required because its quite a hard operation to check all calendars
m
we just have one calendar hooked up to cal, tbh, that’s why it’s a bit odd
we will, but we can’t pre-load everything in the world, because page speed is a factor for us
p
i opened a new ticket to investigate the calendar loading speed. it’s a high priority, will investigate. re loading the embed @Hariom Balhara can help
m
thanks a lot, much appreciated!
p
also @Jeroen Reumkens is currently turning this embed into a standalone react component, which will be more native and faster than a script embed
m
oh nice, i’ll be on a lookout for that one
p
we’re calling this “Cal Atoms” feel free to sign up cal.com/atoms
Cal Atoms will be a collection of standalone react components
m
signed up!
p
epic!
h
@Mikayel Harut try my suggestion of preload. It would load the embed in background before even clicking and should improve the loading speed significantly
You can maybe preload after window.load event is fired(when your website is done loading fully) Or on some other hint when you feel that the user is going to click.
m
yes that’s what we are about to do @Hariom Balhara
p
let us know if it helped. i am curious myself