On the site js-scripts are connected like this:

<script src="js/init.js+programming.js.pagespeed.jc.0CvsngqB5t.js"></script> 

but in the js folder, all these scripts are separate, and if you edit them and upload via FTP, then the changes on the site are not visible.
those. js folder contains the following files: init.js, programming.js
Tell me how these scripts are compiled into one file and how to make changes to them?
pagespeed.jc.0CvsngqB5t.js there is pagespeed.jc.0CvsngqB5t.js such file in the js folder. Where is he from?

  • 2
    it all depends on the framework or system you are using, you need to read the documentation. All files are converted to one to reduce requests to the server. There are no changes, because most likely this file is stored somewhere in the cache and depending on the framework or the system, you need to somehow rewrite it - Jurij Jazdanov
  • @Jurij Jazdanov, on ftp anywhere on found a cache in which there would be these files what you will advise? - word

1 answer 1

The files are glued together in order to use one instead of several http connections. This is one of the optimization techniques for websites that allows you to avoid overhead to establish a connection and transfer http-headers, as well as more efficiently use simultaneous 8 connections with one domain, which can allow the browser.

In an amicable way, somewhere in the file name there should be a hash so that caching can be used normally (to make it permanent), but it is not noticeable in the question.

Try to refresh the page without using the cache - using Ctrl + F5, or by opening it in a private window. If it helps, then the server should somehow be reconfigured so that the file name has a hash. If it does not help, then there is no data to help you with the configuration in the question at all.

  • found the reason. In general, the site is hosted by ukraine.com.ua and the site's admin panel is "Combine all JavaScript scripts into one file", and after clearing the change cache you can see clip2net.com/s/3NwENHY - word
  • @word, server or client? And since the answer has helped, accept it by clicking on the check mark on the left. - Qwertiy
  • I found the solution myself, but I thank you for the hint - word
  • one
    @word, in this case, it should be issued in the form of an answer. only in more detail desirable. - Qwertiy