javascript - Storing AngularJs html templates in LocalStorage -
it looks angulars $templatecache storing templates in memory - huge amount of them has significant effect on overall app performance.
i have crazy idea store templates in localstorage , decorate $templatecache use localstorage instead of memory.
my questionis:
1) localstorage float in memory in way or it's accessed disc?
2) seems somehow logical thing do, knowing templates never change?
Comments
Post a Comment