Docker relies quite heavily on caching, however, if you change a file, a cached layer often has to be rebuilt. With the tips you learn in this video, you can tweak your Dockerfile, so a simple change in your source code won't make you lose all your cached layers!