php bin/console cache:warmup
Warm up an empty cache
Usage
cache:warmup [--no-optional-warmers]
Options
--no-optional-warmers Skip optional cache warmers (faster)
Help
The cache:warmup command warms up the cache.
Before running this command, the cache must be empty.
This command does not generate the classes cache (as when executing this
command, too many classes that should be part of the cache are already loaded
in memory). Use curl or any other similar tool to warm up
the classes cache if you want.