Thursday, 29 August 2013

Stop css file from being downloaded when on a mobile view

Stop css file from being downloaded when on a mobile view

To increase page speed of my responsive page, I have to minimize HTTP
request. In my homepage I have a slider, and in mobile view I don't wish
to show the slider, and show a simple image instead.
So to do that how can I stop slider css and slider js from being download ?
And does style="display: none" in media quires stop the slider images from
downloading.
Thanks in advance,
Regards, Ganesh K

No comments:

Post a Comment