Super-slow build cache on Windows?

Hi,
is it to be expected that caching performance is much worse on Windows, compared to Linux and OSX?
Can it be a consequence of Windows Defender? Can it get disabled before unpacking the caches?

1 Like

See this post for how to disable Windows Defender before cache download begins.

@tanzislam thanks!
I packed it into Gravis-CI

env:
    # This is a convenience variable for shortening download commands
    - GRAVIS="https://raw.githubusercontent.com/DanySK/Gravis-CI/master/"
    # If you use Windows, you may want to disable Windows Defender. It slows down the builds
    # dramatically, also during cache setup. From a Tanzinul Islam's idea: http://bit.ly/348VPYS,
    # This work around disables it before caching
    - NO_WIN_DEFENDER=$(curl "${GRAVIS}.disable-windows-defender.sh" --output .no-defender.sh && source .no-defender.sh)
1 Like