Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,090 of 9,090 pages
About the help in other languages
All help pages

Module 5: Caches

The fifth module of Site administration, what the caches hold, clearing them in the administration and from the shell, preloading, and the caches in front of PHP. Five lessons, 2 hours 55 minutes.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/site-administrators/module-05-caches/README.md

On this page

Module 5: Caches

Caches make Exponential fast, and stale caches cause most "my change does not show" calls. This module teaches learners to read the caches before clearing them, to clear the smallest thing that fixes a problem in the browser and in a terminal, to warm a site after a clear, and to deal with the caches that answer before PHP does.

At a glance

CourseSite administration
Duration2 hours 55 minutes (five lessons)
Lessons5
LevelIntermediate to advanced
FormatHands-on; one training installation per learner served by Velocity, a terminal, a private browser window

Lessons

LessonDurationWhat learners do
5.1 What the caches hold35 minRead the Caches page, ids, tags and last clears
5.2 Clearing caches in the administration35 minClear selected caches, a tag, from the right column
5.3 Clearing caches from the command line35 minUse ezcache.php and exp:cache with --dry-run
5.4 Preloading caches35 minDry run, preload, broken links, the shell command
5.5 The caches in front of PHP35 minCompare the response, HTTP and static caches, read headers

Preparing this module

  • The training installations from Module 1, served by Velocity (php bin/php/console exp:velocity start), so the response cache is present.
  • The lab's SiteURL must match the address it is served at, or the preload of lesson 5.4 requests the wrong address. Check with a dry run before class.
  • curl on the command line for lesson 5.5, and the PHP curl extension for the preloader.
  • On a shared training server, agree who may clear which cache: every clear slows the site for everyone.

Timing plan

TimeItem
0:00Lesson 5.1 (35 min)
0:35Lesson 5.2 (35 min)
1:10Break (15 min)
1:25Lesson 5.3 (35 min)
2:00Lesson 5.4 (35 min)
2:35Break (10 min)
2:45Lesson 5.5 (35 min)
3:20End (2 h 55 min of lessons plus 25 min of breaks)

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x