Skip to main content
Jun 01, 2017 in
I got this issue on a project I worked on. One answer: enable BigPipe module to fix this.
Follow me here
Caching in drupal 8 & 9 explained [video & code]
In this video I discuss block caching in drupal 8 & 9. It is quite radically different from drupal 7. I discuss cache tags, cache context and cache max-age.
about Caching in drupal 8 & 9 explained [video & code]
A lazy loading solution for drupal 8: Fancyload [video]
A few months ago I released a module that provides an out-of-the-box solution for lazy loading of images in drupal 8.
about A lazy loading solution for drupal 8: Fancyload [video]
Nid to url in twig [Drupal 8]
What if you have to link to a specific url in in twig, but you only have the nid? Moreover, it is good practice to use the id and not a hardcored url. Here's what you should use:
about Nid to url in twig [Drupal 8]
drupal 8: image field to image style programmatically
Helper snippet to render images with an image style in drupal 8
about drupal 8: image field to image style programmatically
Create string translations programmatically in drupal 8
String translations are always a bit a pain in the ass for drupal. Luckily, in drupal 8 the function is rather easy.
about Create string translations programmatically in drupal 8