optimization - Segmented Meteor App(s) - loading only half the client or two apps sharing a database -
i understand security model of publish , subscribe.
but i'm working on large application, of perhaps 70% admin only, restricted less 1% of user base.
it seems horrible send templates, css, , javascript , "add ons" (like wysiwyg editor) going used admins, app users.
is there way send clientside stuff users (or when user triggers different "section"?
if not, think option have 2 different meteor applications side-by-side, both use same database, have different applications/interfaces/sessions. see 2 apps same database
any other suggestions/ideas?
a simple, incomplete solution dynamically loading css , js dependencies @ template.mytemplate.created event. you'll still have shared html , packages code, but, depending on application, fine.
if need more control on template dispatching conversation @ meteor talk group illustrates couple of different solutions.
Comments
Post a Comment