Confusing caching behavior


#1

I recently ran into something which wasn’t obvious and took me a good deal of time to understand well enough for me to ask for help - caching and getElementById. It seems that multiple nav-views can exist at the same time, so element ids in partials may not be unique, which bit me when I tried to instantiate a Google js map in a div.

Without knowing the details of the caching implementation (which developers shouldn’t need to know), I wasn’t able to make this work.

I was told this wasn’t a bug, but I’m sure this critter will bite more developers. Maybe this could be handled in documentation? Or do others consider this a bug?