• Resolved ppratap

    (@ppratap)


    Hi there,

    Please update on below questions.

    1 – How to integrate w3tc with amazon CDN and s3?
    2 – If an object(.mp4,.mp3,.jpeg,.png) created on WP website media folders, how it will move to S3 bucket?

    Kindly let me know.

    Kind wishes,
    Pratap

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ppratap

    Thank you for your inquiry and I am happy to assist you with this.
    You can check out our FAQ for a detailed explanation on how to configure Amazon Simple Storage Service (Amazon S3) or Amazon CloudFront as CDN.
    As for the objects, There should be manually uploaded to an S3 Bucket. Make sure that you also check the Amazon article regarding the invalidations.
    One more thing, make sure to enable “Only purge CDN manually” in Performance>CDN to avoid unnecessary invalidations, and make sure to purge the individual files that are uploaded as purging the retire CDN could lead to huge bills coming from amazon due to invalidations.
    THank you!

    Thread Starter ppratap

    (@ppratap)

    Hi Marko,

    is there a way from WP media library(where my client will upload objects) to move objects to S3 buckets ?

    Kind wishes.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ppratap

    Yes, all objects in the WP media library can be uploaded to CDN.
    Thanks!

    Thread Starter ppratap

    (@ppratap)

    Okay. Is there a way to send those objects to S3 and remove it from WP media library(to avoid space issue on the server and for long time storage plan)?

    • This reply was modified 4 years, 7 months ago by ppratap.
    Thread Starter ppratap

    (@ppratap)

    Hi Mark,

    We have a WordPress multisite. Our scenario is client will upload objects to WP media library.

    We want to know is there a plugin which will offload the objects from media library to the S3 and able to integrate with CDN once the offload is completed successfully it should delete the contents from media library.

    While viewing the object it with cdn url it should hit s3 objects.

    Please reach us if any questions.

    Kind wishes,
    Pratap

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ppratap

    No W3 Total Cache does not delete the files in WP library and you should not consider that. It may throw 404 errors or similar issues.
    W3 Total Cache offloads objects bud it does not delete them from the server.
    Thanks!

    Thread Starter ppratap

    (@ppratap)

    Hi Marko,

    Okay. Can you please share us steps to setup this architecture?

    Kind wishes,
    Pratap

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ppratap

    This is what articles and FAQ-s are fore. Please check out our FAQ page for a detailed explanation of how to configure Amazon Simple Storage Service (Amazon S3) or Amazon CloudFront as CDN.
    Thank you!

    Hi Marko,
    sorry if I reopen this topic, but I guess it’s well related.

    I have configured everything and it’s woking fine, but I discovered that when we delete a file from the WP Media Library, the file is still present and reachable on the CDN.

    I.E. if I deleted an old and wrong PDF, it should not be visible for anyone, but just having a saved link (maybe on the browser favorites) could allow the user to reach and view the file.

    Is there a way to delete the files also from the CDN and not only from the WP Media Library, that is the DB attachment entry?
    I couldn’t find any option in the settings.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘W3 total cache aws cdn s3 integration’ is closed to new replies.