I’m using the All-In-One reviews widget and while I was looking for ways to load my widget faster, I noticed in the code was “data-use-service-core”. What does this do? I have looked online and couldn’t find if I need it or not or what it does.
data-use-service-core is just the attribute of the installation code for a new dashboard widget. Old dashboard widgets don’t have this attribute in the installation code.
So, this attribute just specifies that you have a new dashboard widget.
If you want to load your widget faster, please send me a link to the webpage where your widget is installed.
Unfortunately, I couldn’t open a contact page, as it immediately redirects to the home page.
Anyway, we have a solution for your case. To improve widget loading speed, you can remove the defer attribute from the widget installation code, which makes the widget load only after all other content on the page is loaded. Here’s what the code will look like:
I tried removing the defer attribute to improve loading speed on suggestion from Max, but it didn’t seem to make any difference. The form doesn’t load for about three seconds after the rest of the page is loaded–then it suddenly pops in.
This is not the best situation but I could probably live with it, if that is just how the form widget works. I have another more serious issue though, and it seems to be specific to the Chrome browser. The page has sometimes been having a problem where it shows “waiting for core elfsight.com” and then goes to a 404 error. This error seems to get stuck in the cache. It was doing this when Max tried to look at the contact page, and maybe Irene experienced this too. What is even more troubling is that the human meds page sometimes also waits for core elfsight.com, and then goes 404. This is exceedingly weird since the form has never been on that page!
Anyway, I hope the page is working when you look at it now. If you use Firefox I’m pretty sure the page will load, with Chrome you may not be able to see it if the core is again getting stuck somehow.