Yes, this will improve page load time, but this method is not often used for the following reasons:
- Debugging will be difficult for this.
- If we want to update it later, it will also not be so simple.
- Separate css and .js files remove these problems.
And to speed up page loading, you can use the BUILD SYSTEM such as GRUNT, GULP, BRUNCH, etc. to increase productivity.
v_tom
source share