Add Windows support for cache feature