Video Preview: Assets Addon for WP Offload S3

WP Offload S3 is the new name for our Amazon S3 and CloudFront plugin, and whilst we are working fervently on the last phase of development and testing for the upcoming pro upgrade, I thought I would give you a quick tour of the Assets addon that we have also been working on.

The Assets addon will offload CSS, JS and other asset files to S3 and serve them from S3, CloudFront, or another CDN when any scripts or styles are enqueued on a site. So without further ado, check it out:

I hope you found that interesting and that the addon looks useful to you. Let me know what you think in the comments below.

The release of the pro upgrade for WP Offload S3 is imminent (we promise!). To keep up to date with news about it, subscribe to our mailing list.

About the Author

Iain Poulson

Iain is a WordPress and PHP developer from England. He builds free and premium plugins, as well as occasionally blogging about WordPress. Moonlights as a PhpStorm evangelist.

  • david

    Looking awesome! Excited to give it a whirl!!

  • android_tablets

    Any word on pricing?

    • I’m quite keen to see how this is priced too.

    • The pricing will be announced when we release of the plugin, which will give better context to the cost when viewed alongside the pro plugin, addons, and all their functionality. So not too long to wait πŸ™‚

  • A few questions: Has anyone tested it with a framework like Genesis or caching plugins like WPRocket?

    • You should just be able to disable the “Host minified CSS and JS files” and other relavent options in the CDN section of W3 Total Cache.

      I’m not familiar with WP Rocket to comment on if you can disable the same functionality.

      The asset files for Genesis will be processed correctly by the plugin as Genesis makes use of the WordPress enqueuing system.

  • Dave

    This, sir, is amazing…

  • AndrΓ© Rabold

    Looking forward to the update! I wonder how this plugin will work together with W3 Total Cache or other cache plugins.

    • alasdairpage

      That was one of my concerns as well. Any word @Iain Poulson:disqus?

    • You should just be able to disable the “Host minified CSS and JS files” and other relevant options in the CDN section of W3 Total Cache.

  • Is it possible for the plug-in to delete assets from the WP server after they have been copied to S3?

    • Paul Frame

      This has been a features in previous versions of the product that they have shown us.

    • Hi Justin

      The Assets addon will not delete the local assets. Removing files like that, especially WordPress core files, could get tricky. What would your scenario be that you would need the files deleted?

      • I’m interested in deleting the assets to reduce the space that our WP instances use on AWS servers. This will save us money on hosting.

        • Saving space would be a benefit for that feature, but I think the risks and issues with having it outweigh that for now. We will consider it for the future.

  • mbm

    Can’t wait to hear on the release date & pricing of the Pro addon, and this looks great too.

  • Javier PΓ©rez

    That’s amazing πŸ™‚

    Will have reverse mode in order to be able to get assets delivered to s3 and deleted from WordPress back to the site again?

    • Thanks Javier!

      The Assets addon will not delete the local assets, it will only copy them to S3 and serve them from there. Removing files like that, especially WordPress core files, could get tricky. What would your scenario be that you would need the files deleted?

  • mjh

    With regards to a clustered environment
    – how is it decided if an asset should be overwritten?
    – any chance we could get the core configuration files centralised onto s3?

    Looks great, btw.

    • mjh

      Sorry – don’t like replying to my own comment… I’m still thinking about clusters.

      The webhook feature looks really nifty.
      I bet that I can rig icron to hit it every time there is a change to an asset.
      That way I would not need to have a directory crawl every 5 minutes.
      – improve time to live and reduce overhead on large sites.

      • Yep, that would be a good way to use the webhook πŸ™‚

    • The decision is made using stored info about the files in the database, so the clustering shouldn’t have any impact

      “any chance we could get the core configuration files centralised onto s3?”

      I’m not too sure what you mean here.

  • Monica

    Do you have set a date of Pro plugin arrival?

  • b

    Really looking forward to this.

  • android_tablets

    I am seriously still wanting to at least beta test this .. πŸ™‚ One question I did have though, was assets served from Amazon don’t seem to have the proper expiry headers (at least from my own testing). Is this something we need to worry about?