- Get latest drupal 8.
cd modules/contrib
git clone https://github.com/czigor/mycache.git
drush en mycache
- Create 2 additional authenticated users and a node.
- Prepare a database viewer tool (phpmyadmin, mysql workbench)
- Go to /mycache
drush pm-uninstall page_cache dynamic_page_cache big_pipe -y
Answer the following questions for anonymous user and the two authenticated ones.
After changing code/enabling a module use drush cr
to empty cache tables.
- No #cache property 1. What is in the cache_render table? (keys, tags, data) 2. What is in the cache_dynamic_page_cache table?
- Same a) and b) adding only ['#cache']['keys'].
- Same a) and b) adding ['#cache']['contexts'].
Same questions 1-3.
Same questions 1-3.