- Drupal 8 Module Development
- Daniel Sipos
- 169字
- 2021-07-02 12:22:35
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 with a cache backend to store the results of complex data calculations. This can be read in the next requests to avoid the need for reprocessing that task. This goes hand in hand with the cache invalidation that happens 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 output with metadata that describes when the cache of that output needs to be invalidated.
We will see these in action in a later chapter dedicated to caching.
- Learning Cython Programming
- Python科學(xué)計(jì)算(第2版)
- JavaScript修煉之道
- Linux C/C++服務(wù)器開發(fā)實(shí)踐
- Android 9 Development Cookbook(Third Edition)
- Rust Essentials(Second Edition)
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- 學(xué)習(xí)正則表達(dá)式
- RabbitMQ Essentials
- Python深度學(xué)習(xí)原理、算法與案例
- Delphi開發(fā)典型模塊大全(修訂版)
- R的極客理想:量化投資篇
- 創(chuàng)新工場(chǎng)講AI課:從知識(shí)到實(shí)踐
- Qt編程快速入門
- Visual C++網(wǎng)絡(luò)編程教程(Visual Studio 2010平臺(tái))