Multiple embeds = Multiple javascript loads

Site related topics

Moderator: alex

Multiple embeds = Multiple javascript loads

Postby VRtifacts » Tue May 01, 2012 2:59 pm

If I embed more than one Phereo on a web page, the same 4 javascript files are reloaded for each image I embed. Since each load is about 120k bytes, this is not trivial.

And also multiple loads of the same 60k byte CSS file!

Is there some way to suppress the loading of all that extra javascript? I get hugely bloated pages.

Thanks!!
User avatar
VRtifacts
 
Posts: 1
Joined: Wed Oct 26, 2011 1:42 pm

Re: Multiple embeds = Multiple javascript loads

Postby bulkinav » Sat Jun 09, 2012 12:53 pm

We've changed the logic of the embed, now loaded only the necessary files for embed. Unfortunately, each embed must use their downloaded files. But technically impossible to load only one JS file for two or more embed.
Phereo Support
User avatar
bulkinav
 
Posts: 282
Joined: Sat Nov 26, 2011 5:02 pm


Return to Phereo Site

cron