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

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -