BoldGrid / w3-total-cache

GNU General Public License v2.0
151 stars 81 forks source link

Using Remote Storage for Media Files #199

Open ghost opened 4 years ago

ghost commented 4 years ago

W3 Total Cache has 1m+ active installation. So It's not difficult to guess that some of the users have thousands of images, thumbnails, videos, PDFs uploaded on their websites. And over time, those media files stored on disk can add up quite quickly, which in turn can make WordPress and server disk slower.

W3 Total Cache already supports to copy media files added through WordPress’ uploader to S3 Compatible storages (or Gdrive) and also it then replaces the URLs with CDN URLs. However, it doesn't currently remove images from the wp-content/uploads folder. I know it is not the main scope of the W3 Total Cache plugin, I still think it is worth it for an optimization framework. Also, removing local images is a useful feature to keep disks lightweight. It may also improve serving cached HTML pages on disk by making the process faster.

Maybe a premium addon, maybe free... Hoping, W3 Total Cache will be the first and one caching plugin which supports that feature.

Best regards. Serdar

mavas84 commented 4 years ago

Hi @WPLibrary , Thank you for posting this issue. I really appreciate that you've taken the time to do so and I am sorry for the late reply. The developers are looking into this and we'll get back to you as soon as we investigate. Thank you once again!