Closed BenJackGill closed 2 years ago
Hi @BenJackGill
I am not sure if you read the performance doc on the excludes, but here it is if you haven't. It explains in detail why to excluded folders and the drawbacks you are looking for.
My typical excludes list included directories that I would never touch in the code base. So, I could safely exclude them with no issues:
- wp-admin
- wp-includes
- wp-content/cache/
- wp-content/uploads/
- wp-content/mu-plugins/
- wp-content/themes/ANYTHEME_WP_THEME/
The reason why I think your excludes all failed is due to nothing getting bound to the host containers. I am sure there is a specific reason, but off hand I do not know.
The Lando docs say we can exclude files and folders from Docker to speed things up.
So far I have excluded three folders in my
.lando.yml
file, like so:This has made the WordPress admin and front end considerablly faster on my local machine.
But then I tried to squeeze out every last bit of performance by excluding the entire root
wordpress/
directory, like so:When doing this I ran into issues where changes on the site (such as edits to pages etc) were not being saved.
With that in mind I have three closley related questions: