0

I am working in a legacy website built in Angular version 1.5 and I must find out how to refresh the cache without refreshing the browser after clicking on a button , controlled in ng-controllers.js file.

Perhaps I couldn't tell if it worked or not behind the scenes, how can I actually see if it is working?

request headers

$state.go('types', {}, {
                        url: '/submit/*',
                        reload : true,
                        cache: false,
                    });

I went ahead and started trying find solutions on Stackoverflow.

I also tried using httpDefaultCache, How to refresh / invalidate $resource cache in AngularJS

How to remove cache of browser using AngularJS code?

How can I actually see if it the code works, after clicking POST submit button?

MikeOne
  • 4,525
  • 2
  • 25
  • 22
staminna
  • 448
  • 1
  • 4
  • 19

0 Answers0