Welcome to the companion repository for the course "Drupal - Rendering & Caching Magic Revealed"! This course is designed to challenge both beginners and experienced learners of Drupal, enabling you to unlock the full potential of caching capabilities in Drupal.
๐ Notion: https://jealous-star-d06.notion.site/Drupal-Rendering-Caching-magic-revealed-1ba404cc1139466fbce6545686494294
- Docker
- Drupal
- Challenge #1 - Caches Anatomy
- Challenge #2 - Invalidation cache-tags
- Challenge #3 - Invalidation custom cache-tags
- Challenge #4 - Per user Role Cache
- Challenge #5 - Invalidation caches over time
- Challenge #6 - Uncacheable Block
- Challenge #7 - Caching Block for anonymous & Session aware
- Challenge #8 - Caching Block for external API with failover
- Challenge #9 - Per Country Cache
- Challenge #10 - Caching PHP Computation
- Challenge #11 - Caching API
- Challenge #12 - Javascript & BigPipe
- Clone this repository as 2 separated project. One Will be the challenges and the other one will be the Drupal project.
git clone --branch main https://github.com/antistatique/course-drupal-cache.git course-drupal-cache-challenges
git clone --branch drupal https://github.com/antistatique/course-drupal-cache.git course-drupal-cache-drupal
- Bootstrap the Drupal Sandbox by following the README.md.
- Mount any of the challenges as Docker volume in the
web/modules/custom
folder of the Drupal Sandbox container.
services:
dev:
hostname: dev
# ...
volumes:
# Challenges
- ../course-drupal-cache-challenges/challenges/challenge-01/module/challenge_01:/var/www/web/modules/custom/challenge_01