Raoul - Web Application Developer
  • home
  • Imprint / Privacy
  • github
  • npmjs

wpo

A collection of 4 posts
Lazy Load JavaScript[s]
web performance optimization

Lazy Load JavaScript[s]

my idea of lazy loading javascript files - like you already do with images and iframes…
Jul 22, 2019 4 min read
WebP image and background usage in web projects
frontend Featured

WebP image and background usage in web projects

UPDATE: I was late at the image-set party, please read this blog post, how to support avif and webp images in your project. With Firefox 65 joining the WebP party and thanks to the incredible squoosh app, WebP becomes more than just a lighthouse proposal. So it is time to
Jan 27, 2019 3 min read
javascript - choosing the right timeout is easy
plain js

javascript - choosing the right timeout is easy

Every once in awhile I see code that debounces expensive events like resize or scroll: someTimeout = window.setTimeout(debounceScroll, 10); and I wonder about the magic numbers, developers choose. magic numbers In the example the dev thinks 10 milliseconds is a good time to debounce this event. The whole code
Oct 4, 2017 2 min read
jquery event delegation in plain js
js

jquery event delegation in plain js

When you add an event handler, do you delegate it? Thanks to jQuery, I do. jQuery 1.3 shipped a function called .live() with which you could add event handlers for elements, that are in your DOM and/or may appear later - and I am talking about January 2009!
Jun 16, 2017 4 min read
Page 1 of 1
Raoul - Web Application Developer © 2025
Powered by Ghost