To answer your question, display: nonedoes not reduce download time . It still loads the content / class / code in question, but the browser does not display and does not display them.
It looks like you are using a mobile approach, so you can:
//, // , , .
// , , -. , :
2, - , CSS Javascript- -. [: /).
enquire.js ( ) :
<script type="text/javascript">
enquire.register("screen and (max-width: 500px)", {
match : function() {
loadJS('mobile.js');
loadCSS('mobile.css');
}
}).listen();
enquire.register("screen and (min-width: 501px)", {
match : function() {
loadJS('desktop.js');
loadCSS('desktop.css');
}
}).listen();
</script>
, 501px , desktop.js, desktop.css - /, 501px, .