As you know, uploading css-styles and JavaScript-code from third-party services allows you to reduce the size of the site and thereby increase speed. For example:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> Question: Is it possible to achieve the same effect of reducing the size of the site, if you also store your own styles and JS-code in a separate domain?
For example, instead of storing styles in a site directory on a hosting, as they usually do:
<link href="css/style.css" rel="stylesheet" type="text/css"> we buy another domain, upload only css- and js- (and nothing more), and connect to our main site:
<link href="domain-name.ru/css/style.css" rel="stylesheet" type="text/css"> This will probably make sense in particular when two different sites have common styles.