You can use Draco, a library for compressing and decompressing 3D data. There are different ways to compress an existing gltf or glb file, for example via gltf-pipeline. More information about this topic right here:
gltf
glb