8

God damn Angular and HTML view caching... let me do changes without breaking my entire app!

Comments
  • 4
    Add version numbers to your template urls,it should kill that caching!
  • 0
    We develop in incognito mode and do ctrl + F5 to clear the cache. Annoying but it's consistent
  • 1
    @champ visitors can't really do that though :-(
  • 0
    @seethe good idea, I'll give that a go.
  • 1
    Angular caching is a pain in the ass.

    We found an issue in there with the embedded HTML5 video player where clicking a next or back button changes the video URL. Due to angular caching it sometimes loads the old video with the new URL.

    Having to use flash video because of it :-/
  • 0
    Anyone figure out an issue to this angular caching? We have the same issue at work
  • 1
    $templateCache.remove(URL);

    you can do that a bunch of times ;)
Add Comment