Removing unused jQuery Mobile elements?

后端 未结 4 1735
醉梦人生
醉梦人生 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:27

    From here:

    (...) web pages designed specifically for the iPhone should reduce the size of each component to 25 Kbytes or less for optimal caching behavior.

    So, the obvious thing to do here is to "break down" your scripts and styles into multiple files of less than 25KB. You'd have to host them yourself then, obviously.

提交回复
热议问题