Page 1 of 1

Multiple embeds = Multiple javascript loads

PostPosted: Tue May 01, 2012 2:59 pm
by VRtifacts
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!!

Re: Multiple embeds = Multiple javascript loads

PostPosted: Sat Jun 09, 2012 12:53 pm
by bulkinav
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.