On Tue, May 24, 2016 at 3:48 AM, 'Lukas Bombach' via Google Caja Discuss <
[email protected]> wrote:

> Ok this is very helpful, thank you very much.
>
> The reason we don't want iFrames is performance and interactivity. Not
> only do they load slower (ok Caja does too, but we are still exploring and
> not knowing Caja very well),
>

Caja is inherently fairly heavyweight, so you may not get what you want
here. Make sure you're calling caja.initialize() as soon as possible to get
the async loading going.


> but the whole website seems to be less responsive. it seems to me (esp. on
> mobile and esp. if you have like 8 iFrames).
>

I'm not familiar with the performance characteristics of iframes on mobile,
but if so, yes, that sounds like a good reason to want non-iframe embedding
like Caja.


> Also, often our contents grow and shrink in size and we would need to have
> scripts that communicate between host and the iframe to resize it.
>

Ah yes, that awful mess.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to