Dynamically create the /web/cache folders if they do not exist (by default, excluded from git).