Hello, My app is composed of multiple mini games. Each of them is loaded in an iframe and have their own server.
The majority of them are written in clojurescript/reagent. The problem is that loading the javascript is slow and very slow on mobile. I'm trying to load only few games and then load the others on demand but that's also a problem because I need to be able to switch games quickly. I just feel the root of the problem is I don't know how to share the commons lib. Ideally (I suppose) I would serve google closure and other common libs only once from the main app and the others iframe could use it or at least cache it. iframes are on the same domain sub/domains. Any idea on how to speed up the load time ? (maybe the iframe is a bad idea and I would like to discuss alternatives) -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
