Why Rails precompile asseti?

Do I understand correctly that the precompilation of assetof (assets) Rails app needs to "translate" code scss and coffee code in the css and js code sootvetstvenno?
That is, if I refuse to use coffee script and scss markup, no precompile will not occur?
And again, if there are scripts in coffee format and in js format, Rails will only prokompasirovali coffee?
P. S. as far As precompiling increases the page load time? How its beneficial to use? Is it worth to sacrifice page load times for the sake of convenience?
July 12th 19 at 16:35
3 answers
July 12th 19 at 16:37
Solution
In development environment assets is recompiled when you change and update pages on the fly
In production environment, all your Coffee and SCSS will be minimized, compiled and combined into two static JS and CSS file, neatly stacked in the folder public/asssets/
July 12th 19 at 16:39
Solution
To speed up page load time. Profitable.
July 12th 19 at 16:41
Also during compilation the file name is added to the digest hash, which guarantees that the user will be updated cached assets. Therefore, it is necessary not to forget to use image-url and other helpers in Saas files

Find more questions by tags Ruby on Rails