Removing unused jQuery Mobile elements?

后端 未结 4 1709
醉梦人生
醉梦人生 2021-01-14 03:01

I\'m using jQuery Mobile beta. It\'s great fun to work with, but it\'s still very slow on a 3G connection.

It requires the following files:

http://c         


        
4条回答
  •  一整个雨季
    2021-01-14 03:25

    there's no way to automate this process. If you want to go and remove what's not being used you have to do it yourself. But your gain will be minimal. You won't reach 25kb in any of them.

    Use html5 cache manifest to store the files locally and as you've said only the first load will be slower. No way around it.

提交回复
热议问题