# Prevent config refetches and tighten Windows platform detection · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/59b1d5d20fbe254e6d0e08eaa5a5801ed5ea3830)

Repository: [flambo/t3code](https://git.cafe/flambo/t3code)

Visibility: public

Requested revision: 59b1d5d20fbe254e6d0e08eaa5a5801ed5ea3830

Requested commit: 59b1d5d20fbe254e6d0e08eaa5a5801ed5ea3830

Commit: 59b1d5d20fbe254e6d0e08eaa5a5801ed5ea3830

Tree: 7531838d08463bed33dac8afe73617a0f27abf81

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Prevent config refetches and tighten Windows platform detection

- set server config query `staleTime` to `Infinity` to avoid unnecessary refetches
- narrow `isWindowsPlatform` matching to Windows-prefixed identifiers
- add unit tests for Windows and non-Windows platform cases

```

## Parents

- [00d7519728508d265d1c54d73e50d8ee64e33901](https://git.cafe/flambo/t3code/commit/00d7519728508d265d1c54d73e50d8ee64e33901?format=markdown)

[Source at this commit](https://git.cafe/flambo/t3code/tree/59b1d5d20fbe254e6d0e08eaa5a5801ed5ea3830?format=markdown)
