Then sync or backup the whole directory, excluding the "cache" subdirectories to save space.
(Pet peeve: Firefox, please use $HOME/.cache/ like every other app!)
You might try losing everything but the .json and .sqlite files. Have not checked, but that is probably enough. Only missing paths are regenerated when you launch Firefox.