Drupal

Drupal is a cmf developed by Dries Buytaert about 20 years ago. It has developed a rich culture of developers supporting the system, and it is a highly flexible system.
· Lars Nielsen

A Two-Character Regex Fix That Was Quietly Defeating Its Own Preload Tags

A CSS preload optimization shipped, ran on every page load, and did nothing. Not "did nothing dramatic" — did nothing at all, silently, for the length of time it took someone to notice the preload tags weren't matching anything a browser would actually reuse. The fix was two characters in a regular expression.

Read article A Two-Character Regex Fix That Was Quietly Defeating Its Own Preload Tags
· Lars Nielsen

Three Attempts to Fix the Same Encoding Bug, and Why Only the Third One Actually Explains It

The same inline JavaScript snippet got moved to a different delivery mechanism three times in thirty minutes. Two of the three moves were blamed on an "& encoding" bug. Only the third move actually fixes the kind of bug that explanation describes — and checking the file at each step shows the first two blame something that isn't there.

Read article Three Attempts to Fix the Same Encoding Bug, and Why Only the Third One Actually Explains It
· Lars Nielsen

The Refactor That Silently Deleted AdSense and Google Fonts From My Site

Moving a template file from one directory to another shouldn't change what it renders. I moved html.html.twig to templates/layout/html.html.twig for Drupal 11 compatibility, and the rename quietly deleted an AdSense script tag and three Google Fonts links that had nothing to do with the move. Nobody noticed for hours.

Read article The Refactor That Silently Deleted AdSense and Google Fonts From My Site
Subscribe to Drupal