Is the Angular templateCache shared between apps? Is it persistent?

Posted by alexp on Stack Overflow See other posts from Stack Overflow or by alexp
Published on 2013-11-06T21:47:34Z Indexed on 2013/11/06 21:53 UTC
Read the original article Hit count: 349

Filed under:
|

If I have two Angular apps that run on the same domain, will/can they share data in the templateCache? Or is the cache unique to each main application module? In general I'm trying to understand what dictates when a new templateCache is created.

Furthermore I'm not clear on whether or in what way the templateCache is persistent? Looking in local storage and cookies, I don't see where anything is getting stored.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about angularjs