You are not prevented from reenabling caching later on. The truth is, if you need to do reenable it, proxies would see the change pretty quickly, and start caching the page again another time somebody requests it.1 But ought to have been: RUN apt-get update && apt-get -y put in php5-fpm && rm -rf /var/lib/apt/lists/* In truth, is best practice to c