- Drupal 8 Module Development
- Daniel Sipos
- 187字
- 2021-07-02 15:45:11
Caching
The last major subsystem that I will include here is the caching layer. Drupal 8 has gone to great lengths to improve the performance of building pages and rendering data. To this end, the caching system has become an important part to consider whenever we either do complex or heavy calculations or render content.
From a module developer's perspective, there are two main pillars of the caching system. The first one provides developers a cache backend to store the result of complex data calculations. This data can be read in the next requests to avoid the need for redoing those calculations. This goes hand in hand with cache invalidation when something in the system changes that would require the calculations to be redone. The second pillar is the render cache, which allows developers to wrap their data output with metadata that describe in what context and when that data output needs to be invalidated or changed. The entire markup of that bit gets cached and invalidated based on the rules of the metadata.
We will see these in action in a later chapter dedicated to caching.
- Instant Node Package Manager
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 算法精粹:經典計算機科學問題的Java實現
- WSO2 Developer’s Guide
- Java深入解析:透析Java本質的36個話題
- Linux環境編程:從應用到內核
- Python Data Analysis(Second Edition)
- HTML5+CSS3網站設計基礎教程
- 實戰Java高并發程序設計(第3版)
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- C程序設計實踐教程
- Learning Laravel's Eloquent
- Python算法詳解
- ElasticSearch Cookbook(Second Edition)
- 微課學人工智能Python編程