cache_review-1.0.x-dev/cache_review.routing.yml
cache_review.routing.yml
cache_review.page:
path: '/cache-review'
defaults:
_controller: '\Drupal\cache_review\Controller\CacheReviewController::page'
_title: 'Cache demo pages'
requirements:
_permission: 'access content'
cache_review.cached_max_age:
path: '/cache-review/cached-max-age'
defaults:
_controller: '\Drupal\cache_review\Controller\CacheReviewController::cachedMaxAge'
_title: 'Cached page (DPC) with max-age for items'
requirements:
_permission: 'access content'
cache_review.uncacheable_lazy_keys:
path: '/cache-review/uncacheable-lazy-keys'
defaults:
_controller: '\Drupal\cache_review\Controller\CacheReviewController::uncacheableLazyKeys'
_title: 'Uncacheable page (DPC), has lazy, some items cached due to keys'
requirements:
_permission: 'access content'
cache_review.cached_lazy:
path: '/cache-review/cached-lazy'
defaults:
_controller: '\Drupal\cache_review\Controller\CacheReviewController::cachedLazy'
_title: 'Cached page (DPC) with lazy items'
requirements:
_permission: 'access content'
cache_review.configuration:
path: '/admin/config/cache-review'
defaults:
_form: 'Drupal\cache_review\Form\CacheReviewConfigForm'
_title: 'Cache Review configuration'
requirements:
_permission: 'administer site configuration'
