Storage Settings
Choose where images / videos / downloads live (local disk or Tencent Cloud COS, with presigned direct upload)
Decide in one place where images, videos, and downloadable files are stored; both local disk and cloud storage are supported.
What problem it solves
Images and videos keep accumulating. If they are all stored locally on the server, the disk will quickly fill up and access speed will be dragged down. Putting files in cloud storage can move this pressure elsewhere. But the biggest fear when switching storage is that files do not match, so you also need to be able to migrate historical files over and reclaim unused objects.
Main features
- Storage location selection: Choose local disk or cloud storage to store files.
- Direct upload support: Uploads can be sent directly to cloud storage, reducing server pressure.
- Historical file sync: Move files previously stored locally to the newly selected storage in bulk.
- Orphan object reclamation: Find files that are no longer referenced anywhere; by default it only scans and does not delete.
How to use
- Go to the "Plugins" group on the left side of the admin panel and open the "Storage Settings" page.
- Select the storage location you want to use; if you choose cloud storage, fill in the access information as prompted.
- After saving, go to "Historical File Sync" and run a sync to fill in the old files.
- Then go to "Orphan Object Reclamation" and run a scan; review the scan results first, then decide whether to clean up after confirmation.
- Open a product page with images on the front end to confirm the images display normally.
Who it is for
Sites with many images and videos, tight local disk space, or a desire to improve access speed.
Notes
Orphan object reclamation only scans by default and does not delete; before deleting, please confirm the scan results are correct.