Splitting jQuery into multiple files (for iPhone caching)

Posted by Marko Ivanovski on Stack Overflow See other posts from Stack Overflow or by Marko Ivanovski
Published on 2010-05-30T06:49:26Z Indexed on 2010/05/30 6:52 UTC
Read the original article Hit count: 484

Filed under:
|
|

Hi,

I was wondering if there is a way to split jQuery into multiple files, i.e.

  • jQuery-1.4.2_part1.js
  • jQuery-1.4.2_part2.js
  • jQuery-1.4.2_part3.js

...and so on.

The reason I want to do this is because the iPhone doesn't cache assets larger than 25kb and I really need jQuery to only be downloaded once.

If you think there are other workarounds for this I am considering all options right now.

Thanks,

Marko

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about iphone