AFAIK, the default firefox flatpak configuration has the cache path in ~/.var/app/org.mozilla.firefox if it is a user install, which is mounted/passed into the running container instance.
You can change the cache path in about:config via browser.cache.disk.parent_directory and if you want to use a path outside of the flatpak container, you can use flatseal to create a filesystem overwrite.