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

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -