File caching is application-level functionality and is not included in the stable SPLive 2.0.0 public SDK.
Recommended Flutter tools
cached_network_imagefor room covers and avatars.flutter_cache_managerfor general downloaded files.just_audiocaching or preload strategies for room music.- Local temporary storage for gift-animation assets.
Use absolute URLs
Laravel should return complete HTTPS URLs. A path such as /storage/rooms/27/music/file.mp3 may be interpreted as a local Android file path.
json
{
"audio_url": "https://api.example.com/storage/rooms/27/music/file.mp3"
}Cache invalidation
Use versioned file names, query parameters, or immutable asset paths when replacing room backgrounds, gift images, or audio tracks.