D
D
Daniel2018-02-27 04:18:31
JavaScript
Daniel, 2018-02-27 04:18:31

How to understand such an entry /script.js?param=value?

What kind of parameter transfer is it, how is it to be caught, it's not necessary to parse it with your hands?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
frees2, 2018-02-27
@frees2

Sometimes they set that the script (or some script content) is not cached by the browser.

X
xmoonlight, 2018-02-27
@xmoonlight

The parameter is processed by the server or the server script-wrapper (giving this js script) to issue the required version of the script to the client, its special settings, etc. (while maintaining the caching functionality on the client).

S
Stalker_RED, 2018-02-27
@Stalker_RED

The most common GET parameter. Usually handled by the web server, or some application that the web server will forward the request to.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question