R
R
Roman L.2015-11-12 04:27:58
RequireJS
Roman L., 2015-11-12 04:27:58

Loading scripts without caching?

Hello, the problem is loading scripts and caching them.
Modules are called on separate pages, the entry point is collected by gulp.
For example calling define('blocks',[ ],function() and loading blocks.js, how to force requirejs to add a random number to GET or keep track of versions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Kitmanov, 2015-11-12
@k12th

There are urlArgs . But in general, in chrome in the inspector there is a checkbox like "do not cache anything from this domain if the inspector is open."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question