While rendering the homepage of a website, it takes a lot of time due to the thread being blocked in processing JS/CSS. What are the options that can be employed to better the performance in this situation?
a) Pick ONE OR MORE options Using code-splitting for JS files.
b) Compressing the JS files on the server-side.
c) Using preloading for CSS files.
d) Having important pages as static files.

Respuesta :

Answer:

a) Pick ONE OR MORE options Using code-splitting for JS files.

b) Compressing the JS files on the server-side

Explanation:

Javascript is a multi-purpose programming language, it is used in web development as a scripting language for programming the interactiveness of the web application.

Loading and running the script from the server can take a lot of time, so, the file is compressed and split for faster loading.