Hey Reader,
Last week, a dev messaged me: "I ran cache:flush instead of cache:clean on prod, and now our site's throwing errors. Why?"
This is exactly why Adobe puts this type of question on the certification exam.
On the surface, cache:clean and cache:flush seem identical. Both clear the cache and make changes visible. But one deletes from matching tags, and the other nukes the entire cache storage (including external services!).
When you flush, you are also wiping caches from OTHER applications, like Redis. Sometimes that's what you want, but it's possible it can unintendedly take down your store.
The Adobe cert exam (shameless plug: cert-prep course launch promo ends today!) is full of these "seems the same but isn't" questions:
- cache:clean vs cache:flush
- custom vs extension attributes
- config:set vs env variables
- grouped vs bundle products
These are questions designed to catch devs who memorized commands but never understood the WHY.
I just opened up a few more related lessons for the cert-prep course, check them out below ๐