When you open any html document from phpstorm , a strange postscript is added at the end of the address.
Something like this:

... / somefile.html ? _ijt = tfkjtn6pki0sh8p3vrtmtb4c1r

Where does it come from and what does it mean? Previously did not appear.

  • most likely a lotion from the browser cache, in the settings they probably started it. - Jean-Claude

1 answer 1

_ijt comes from IntellijIdea Token , in the source TOKEN_PARAM_NAME this is TOKEN_PARAM_NAME :

 // we must check referrer - if html cached, browser will send request without query val token = headers().get(TOKEN_HEADER_NAME) ?: QueryStringDecoder(uri()).parameters().get(TOKEN_PARAM_NAME)?.firstOrNull() ?: referrer?.let { QueryStringDecoder(it).parameters().get(TOKEN_PARAM_NAME)?.firstOrNull() } 

Appeared to protect the embedded server from CSRF .

PS Past wrong version:
Random is added so that the browser does not cache the content, otherwise some browsers may show a cached version of the already modified file, and you will send complaints to the PHPStorm developers.

This is not a "postscript", but a URL parameter.

  • Does not fit with the cache. for it is necessary each time changing something in the project to refresh the page twice. - user215627 pm
  • @Next yes, you're right. dug deeper - strangeqargo