-
Notifications
You must be signed in to change notification settings - Fork 295
Cached packages are never cleaned up #809
-
I am currently cleaning out GB's of old cached packages on my windows machine.
The files are located here:
C:\Users[ME]\AppData\Local\UnitedIncome\serverless-python-requirements\Cache
Does anyone else have this? Is there a command to clean these up? I'm just deleting them for now because it seems these files are never reused. I don't want a new one of these for every single deploy. That's insane duplication and waste of space.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments
-
I think this turns out to be because we use a custom package and we needed to add invalidateCaches: true to the custom section
ie:
custom:
wsgi:
app: app.app
packRequirements: false
pythonRequirements:
dockerizePip: non-linux
invalidateCaches: true
and now it does not pile up
Beta Was this translation helpful? Give feedback.
All reactions
-
Unfortunately this option does not refresh the contents so this is not the answer
It does something but the packages within the updated folder are all the same as before.
Beta Was this translation helpful? Give feedback.