sunpig + load   45

Node.js, Require and Exports
Back when I first started playing with node.js, there was one thing that always made me uncomfortable. Embarrassingly, I'm talking about module.exports. I say embarrassingly because it's such a fundamental part of node.js and it's quite simple. In fact, looking back, I have no idea what my hang up was...I just remember being fuzzy on it. Assuming I'm not the only one who's had to take a second, and third, look at it before it finally started sinking in, I thought I could do a little write up.
node  nodejs  require  exports  module  commonjs  load  js  javascript  server 
5 weeks ago by sunpig
Using Modernizr to detect HTML5 features and provide fallbacks | HTML5 Doctor
Modernizr is a JavaScript library that detects which HTML5 and CSS3 features your visitor’s browser supports. In detecting feature support, it allows developers to test for some of the new technologies and then provide fallbacks for browsers that do not support them. This is called feature detection and is much more efficient than browser sniffing.
modernizr  html  javascript  js  yepnope  html5doctor  webdev  frontent  feature  detect  load  conditional 
7 weeks ago by sunpig
Why loading JavaScript over SSL from a third-party CDN is a bad idea
RT @yaypie: Why loading JavaScript over SSL from a third-party CDN is a bad idea:
ryangrove  ssl  security  trust  load  cdn  js  javascript  resource  external  site  certificate  web  webdev 
may 2011 by sunpig
Optimize for mobile
In our own tests conducted in early 2011, we found that on modern mobile devices, each additional kilobyte of JavaScript adds about 1ms of parse time to the overall page load time. So 100kB of JavaScript included in the initial page load would add 100ms of load time for your users. Because JavaScript must be parsed on every visit to a page, this added load time will be part of every page load, whether loaded from the network, via the browser cache, or in HTML5 offline mode.
speed  optimization  performance  javascript  1kb  1ms  google  pagespeed  defer  js  load  parse  execute  busy 
april 2011 by sunpig
meeblog » Blog Archive » dev post: Meebo Bar embed code open sourced!
RT : Meebo open sources their code. Any 3rd party creating snippets to embed should read this!
dev  webdev  frontend  js  javascript  window  load  iframe  thirdparty  script  from twitter
january 2011 by sunpig
Steal this book: The loan arranger | The Economist
RT @wendyg: Excellent Economist piece on the hallucinations of the ebook biz:
economist  book  books  amazon  barnesandnoble  starbucks  drm  ebook  business  licensing  purchase  firstsale  load  lend  buy  ownership  rights 
november 2010 by sunpig
How to Measure Page Load Time With Google Analytics | Web Performance Blog
RT @forjared: New blog post: How to measure page load time with google analytics
load  page  web  webdev  analytics  ga  speed  performance  javascript  js  time  custom  variables  analysis  data 
october 2010 by sunpig
High Performance Web Sites :: (down)Loading JavaScript as strings
"The technique they came up with was to wrap the JavaScript in comments. This allows the code to be downloaded, but avoids the CPU lockup for parsing and execution. Later, when the user clicks on a feature that needs code, a cool dynamic technique is used to extract the code from the comments and eval it."
stevesouders  performance  js  javascript  optimization  webdev  download  parse  parsing  execution  eval  string  load  sproutcore  charlesjolley  deferred  velocity 
december 2009 by sunpig

related tags

"tamper  1.9.2  1kb  1ms  37signals  adverts  ajax  ala  alistapart  amazon  analysis  analytics  animated  archive  assets  async  asynchronous  autoloader  average  balance  ball  barnesandnoble  basecamp  block  blocking  book  books  boot  bottleneck  browser  browsers  brucel  brucelawsom  bubble  bundle  business  busy  buy  cache  caching  capacity  casehardened  cdn  certificate  charlesjolley  chrisheilmann  class  client  code  commonjs  conditional  css  custom  data  data"  deanedwards  defer  deferred  delay  dell  design  desire  detect  dev  development  deveopment  dns  document  documentwrite  dom  domready  download  drm  dynamic  ebook  ec2  economist  enhance  es  eval  event  execute  execution  expires  expiry  export  exports  extension  external  f5  fast  feature  file  firebug  firefox  firstsale  frontend  frontent  functionality  ga  gap  generate  gif  google  googleanalytics  hack  hackintosh  harmony  head  header  hijax  history  hmlhttprequest  html  html5doctor  http  httparchive  icon  ie  iframe  image  imge  import  importnode  include  indicator  input  install  interaction  internetexplorer  jamesburke  javascript  jquery  js  kentbrewster  laptop  launch  lazyload  lend  lh  library  licensing  link  load  loadbalancing  loaded  loader  mac  markwubben  measure  measurement  merge  microsoft  minify  mobile  modernizr  module  netbook  nicholaszakas  no-js  node  nodejs  object  onload  optimization  optimize  osx  ownership  p290  page  pagespeed  parallel  parse  parsing  patch  patched  pattern  pc  performance  persistence  petermichaux  php  pjax  plugin  poll  popup  preload  presentation  progress  progressive  purchase  pushstate  rails  rake  ready  refresh  rel  replace  require  require_once  resource  response  rights  rspec  ruby  run  ryangrove  s3  script  security  seo  server  sheet  sifr  simonwillison  site  size  slow  solution  speed  spinning  sproutcore  ssl  stacker  starbucks  start  startup  state  statistics  stevesouders  stoyanstefanov  stress  string  style  synchronous  tag  tags  test  testing  thirdparty  throbber  time  tomdale  tracking  trust  ui  unobtrusive  url  usability  users  variables  velocity  wait  waiting  want  was  web  webcat  webdev  webkit  webpage  widget  window  wpo  write  xbrowser  xhr  xhtml  xml  yepnope  yslow  yui 

Copy this bookmark:



description:


tags: