TYPO3-docker-boilerplate icon indicating copy to clipboard operation
TYPO3-docker-boilerplate copied to clipboard

Keep cache folders inside docker containers

Open htuscher opened this issue 8 years ago • 4 comments

Hey guys, thank you very much for that genius boilerplate.

I want to make one suggestion for enhancement: Running on OSX has some performance drawbacks, as you have a mounted folder inside the VM and the hypervisor needs to synchronize cache folders, which is pretty slow (no matter if VBoxFS or NFS). As you usually don't need any files inside the cache folder during development, it would be great if the cache folder can reside inside the docker container. I think this would dramatically increase the performance of the entire environment.

Best regards

htuscher avatar Mar 09 '16 11:03 htuscher

Isn't it getting more difficult to delete the cache folders manually in case T3 fully blocks?

elmar-hinz avatar Mar 09 '16 11:03 elmar-hinz

Hint: This is mainly a VirtualBox issue, performance (with or without NFS) with VMware or Parallels is great.

mblaschke avatar Mar 09 '16 11:03 mblaschke

You can create /storage/typo3temp and symlink your typo3temp to this directory.

mblaschke avatar Mar 10 '16 18:03 mblaschke

We could maybe add a note about this in our documentation?

josefglatz avatar Apr 10 '16 06:04 josefglatz