WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
W3 CDN + Cloudfront: Is Push or Pull better in this case (1 post)

  1. tfmwa
    Member
    Posted 1 year ago #

    Hello everyone,

    A friend of mine has been using WordPress + S3 for a while now. He stores 99% of the images used on the site and larger media files like audio and product downloads on S3 by manually uploading them to S3.

    From what we've been able to find online, there are two ways of setting up Cloudfront:

    Push
    Wordpress --> S3 with actual content in bucket --> Cloudfront

    Pull
    Wordpress (--> 'invisble' S3) --> Cloudfront

    Pull is supposed to be more automated and cheaper in the end.

    We've succesfully managed to set up W3 + Cloudfront using a Pull setup. And now images from the media library, css files and javascript files are being loaded from cloudfront servers, which can be confirmed by checking the site's source code.

    However, the images (1.000+) are still being loaded from a single S3 location as they've been 'outside' of WordPress all this time.

    As far as I can see you can only implement one distribution in W3, either push or pull depending on the source selected.

    What would be the best way to get the images in the S3 bucket to be distributed through Cloudfront as well? Do we need to switch to the push method, which seems to be less convenient in the future? Or is there an easy way to get the S3 files distributed through Cloudfront without incurring a ton of manual work on the site?

    Thanks for any advice you may be able to give.

    http://wordpress.org/plugins/w3-total-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.