When the link in HTML introduces CSS, the file type is text/css. If the file type returned by the server does not match, then the response will be empty and cannot be loaded into the page.
This problem arises because CDN sets the file type to text/plain by default. Just change it to text/css
The reason has been found:
When the link in HTML introduces CSS, the file type is text/css. If the file type returned by the server does not match, then the response will be empty and cannot be loaded into the page.
This problem arises because CDN sets the file type to text/plain by default. Just change it to text/css
The status codes of these files are all 304. These files are taken from the browser’s cache.
Forcibly clear the cache and test it multiple times, and then look at the results.
Also, how do you synchronize files to CDN?
Are you sure the files on the CDN are not empty? If so, I think it's due to your browser's cache.