Delete cache
How can I delete (reset) the cache of a project on demand?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 22 May, 2015 11:42 PM
Use cache dependencies: http://www.appveyor.com/docs/build-cache#cache-dependencies
You can have any file as dependency that will be triggering cache invalidation, even "cleanup-cache.txt" say in the root of your repo:
Whenever CRC32 of
cleanup-cache.txt
is changed the cache is invalidated, i.e. not restored in the beginning of the build.2 Posted by ulrich.b on 22 May, 2015 11:44 PM
Hi.
Thanks for your answer. With "on demand" I meant "manually".
Support Staff 3 Posted by Feodor Fitsner on 22 May, 2015 11:47 PM
There is no such command or API yet, but manually updating
cleanup-cache.txt
is basically the same.4 Posted by micah on 06 Aug, 2015 04:44 AM
+1 to allowing manual purge. A hiccup has resulted in some bad stuff getting cached and I'm not a fan of committing a change to one of my configuration files just so I can get the cache to clear.
5 Posted by sam.halliday on 19 Apr, 2016 08:00 PM
+1 this would be a useful feature, my caches are getting big and I don't want to mutate the repo to do this as that will result in various other build systems triggering a new deploy.
6 Posted by Aida Enna on 11 Aug, 2016 06:26 PM
Can I get a +1? This would be an extremely useful feature.
7 Posted by giuliovdev on 09 Sep, 2016 07:34 PM
+1
Support Staff 8 Posted by Feodor Fitsner on 09 Sep, 2016 08:08 PM
As a workaround you can cleanup cache using REST API: https://github.com/appveyor/ci/issues/985
9 Posted by Sébastien Gallo... on 17 Oct, 2017 07:49 AM
+1 ! Would be usefull to clear cache manually (for example via a button in the project settings)
10 Posted by Marcel Kruczkow... on 26 Oct, 2017 07:43 AM
+1
11 Posted by Michelle Kieras... on 26 Oct, 2017 07:45 AM
+1
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.