Skip to main content
David Loor
ProjetsBlogLivresContact
←Back to Blog

#Cache Contexts

1 post with this tag

Trouvés 1 article

Hooks de pré-traitement Drupal : pourquoi le contexte de cache `url.path` est important

2025-09-06

Si vous modifiez la sortie d'un bloc en fonction du chemin actuel, vous devez ajouter le contexte de cache `url.path`. Sinon, Drupal réutilisera une version mise en cache sur différentes pages et affichera le mauvais contenu.

DrupalCachingPerformance

© 2025 David Loor. All rights reserved.

Built with Next.js and Tailwind CSS