I am having an issue with preloading CSS sheets. I attempted to preload the CSS sheet using the preload attribute in HTML. It works fine on Google Chrome, but unfortunately, it does not work on Firefox.
<head>
<link href=assets/css/master.css rel=preload onload="this.rel='stylesheet'" as="style" type="text/css">
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"
as="style" onload="this.rel='stylesheet'" as="style" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/assets/owl.theme.default.min.css" rel=preload
onload="this.rel='stylesheet'" as="style" type="text/css">
<link rel=apple-touch-icon-precomposed href=images/favicon-apple-touch.png> <link rel=icon href=assets/img/logo.png
sizes=32x32>
<link href="https://fonts.googleapis.com/css?family=Bad+Script" rel=preload onload="this.rel='stylesheet'" as="style">
</head>