A
A
Artem Gribkov2016-07-28 18:22:05
Angular
Artem Gribkov, 2016-07-28 18:22:05

How to disable cache in angularjs?

I've been toiling for a day now, when editing in the view, everything is cached to death, I can't understand why, that is, the changes are not visible, if it starts in another browser, then everything is OK.
Is there any way to disable the cache when developing in angular?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Gribkov, 2016-07-28
@L1Qu0R

Decided by adding

<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<meta http-equiv="CACHE-CONTROL" content="NO-STORE">

in index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question