This has been a life-saver for me and I hope it does the same for you!
About After Effects Media and Disk Cache: https://helpx.adobe.com/after-effects/using/memory-storage1.html
Startup Command
"you can change the default location of the media cache files in the prefences pull down
because our artists are "lazy" :-) i put a startup command in
c:\Documents and Settings\All Users\Start Menu\Programs\Startup
its a text doucument called "delete_old_cfa.cmd"
whose contents are
set FOLDER=s:\aeTemp\Media Cache Files\Cache.MACC
for /f "Tokens=* skip=100" %%f in ('dir "%FOLDER%\*.*" /o-d /b') do del /f /q "%FOLDER%\%%f"
on restarting from boot it will keep only the most 100 recent files in the media cache folder .... that will stop those files filing up your harddrive"
Source: https://forums.adobe.com/thread/396559
Patrons
phantastic iero https://www.instagram.com/phantastic.iero/
Discord Server... https://discord.gg/Taeg86Y
Patreon... https://www.patreon.com/aceproductions
Music (In Order)
derrick boo - caught in the rush https://soundcloud.com/derrick-boo/caught-in-the-rush
derrick boo - and roads like abernathy https://soundcloud.com/derrick-boo/and-roads-like-abernathy
ACE
https://soundcloud.com/ace_dll
https://www.instagram.com/ace_dll/
https://myanimelist.net/profile/Ace_dll
Disclaimer
All rights to their respective owners. Contact me at acevideoedits@gmail.com for any questions and concerns.