Split STATIC_CODECS into per-type caches