meteor - How many times does Iron Router call subscriptions? -


i have multi-page application several routes. subscription each route implemented using "waiton", , works fine.

i noticed when navigate different pages, subscription of previous route dropped. far, no problem.

i implemented "waiton" call on router.configure level, particular subscription available pages.

my question is: iron router make new call subscription each time switch pages? worry waste server resources.

thank you.

yes, when switch page previous subscription dropped, later when browse page meteor resubscribes.

there community package in atmosphere caches subscriptions: https://github.com/meteorhacks/subs-manager


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -