AssetSync / asset_sync

Synchronises Assets between Rails and S3
1.88k stars 346 forks source link

Option to maintain local cache file in Remote #428

Closed arumugaraja-thirumani closed 1 year ago

arumugaraja-thirumani commented 1 year ago

With remote_file_list_cache_file_path options we could be able to reduce and sync time by 30 minutes.

Maintaining the local file is difficult in the docker environment, so in this PR providing the option to have the cache file in remote (remote_file_list_remote_path) as well. Which will be downloaded during asset sync if path is configured and its creates a local file for further references in the sync. Once after the sync is completed, updated local cache file will be uploaded back to configured remote path.

This remote cache file will be maintained in the path configured using remote_file_list_remote_path inside fog_directory

PikachuEXE commented 1 year ago

Released in 2.16.0