Skip to main content
David Loor
关于服务项目博客联系方式
←Back to Blog

Caching

1 post in this category

找到 1 篇文章
2025-09-06
8 min read

Drupal 预处理钩子:为什么 `url.path` 缓存上下文很重要

如果您根据当前路径更改块的输出,则必须添加 `url.path` 缓存上下文。否则,Drupal 将在页面之间重用缓存版本并显示错误的内容。

DrupalCachingPerformance

保持更新

将最新文章和见解发送到您的收件箱。

Unsubscribe anytime. No spam, ever.

Blog archive
  • Drupal 预处理钩子:为什么 `url.path` 缓存上下文很重要
David Loor

AI, Cloud & Web Solutions Architect

AboutServicesProjectsBlogBookshelf

© 2026 David Loor. All rights reserved.

davo20019@gmail.com