This week's giveaway is in the Spring forum.
We're giving away four copies of Microservices Testing (Live Project) and have Chris Love & Andres Sacco on-line!
See this thread for details.
Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

mobile jquery

 
author & internet detective
Posts: 41184
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I learned there was a "mobile jQuery" for the first time when reading Murach's HTML5/CSS3 book. One of the things to consider on mobile pages is using less bandwidth. However, jQuery isn't known for being small. How do you reconcile these two ends? Or is it that jQuery is cached so it becomes a non-issue.
 
Sheriff
Posts: 67650
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's usually recommended to reference jQuery, mobile or otherwise, from a CDN so that there's a good chance that it's already been cached by another site. But even when not, with caching, the pain should only be felt once. And every effort is made to make jQuery as small as possible. And referencing the minified version helps as well.
 
author
Posts: 42
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Bear Bibeault wrote:It's usually recommended to reference jQuery, mobile or otherwise, from a CDN so that there's a good chance that it's already been cached by another site. But even when not, with caching, the pain should only be felt once. And every effort is made to make jQuery as small as possible. And referencing the minified version helps as well.



Agreed. Referencing the library from the CDN definitely helps and like Bear explains...the only real issue is the initial load on the main page. Last time I checked the minified version of the jQuery Mobile library is only 24K. That's hardly a size to think twice about...even for mobile development.

Zak
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic