Recent posts

  1. Most developers when using HTML inputs with type="number" assume the input value will be a number, and get confused when the value is a string instead. This is because the type=“number” actually tells the browser that the input is used for numbers and to provide a number input UI with included built-in validation to reject non-numerical entries.

    Now to get the number almost …

    Show more
    10:02 (+0200)
    Cavallino-Treporti, Italy
  2. Embedding YouTube Videos Without Impacting Web Perf

    Improve the page loading performances caused by YouTube iframes with a few simple HTML and CSS tricks.

    Yesterday I had to embed some YouTube videos in one of the articles I was writing about Raspberry Pi’s, and since I usually do not embed videos that often and rarely multiple of them, I never really upset about the performances penalty for one iframe, but after I added multiple of them I saw a massive web page loading degradation.

    So it occurred to me how could I embed YouTube videos more …

    Show more
    19:42 (+0200)
  3. Speeding up static websites with PJAX

    How to improve the performances and enhance the user's experience of static websites (Hugo, Jekyll..) using the PJAX technique.

    With the fast-growing trend of static websites, many people are moving their blogs from WordPress, Medium, etc, to static websites built with Hugo or Jekyll. And there is a good reason for that. One of the reasons is security, cutting down server costs, ease of maintenance, performances, and many others. But in this article, I would like to focus on performances.

    As everybody knows, static …

    Show more
    16:27 (+0200)