Only use major version for cache

Fixes #63