Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

For a small site, what WordPress/site files normally go into the S3 bucket in order to get optimal use as a CDN?

share|improve this question

closed as off-topic by G. M., Johannes Pille, Pieter Goosen, ialocin, birgire Aug 20 at 6:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – G. M., Johannes Pille, Pieter Goosen, ialocin, birgire
If this question can be reworded to fit the rules in the help center, please edit the question.

    
I know people have mixed results between the two but I've found Cloudflare's CDN to be far less problematic than local caching plugins. –  Imperative Ideas Oct 10 '13 at 7:07

2 Answers 2

up vote 0 down vote accepted

what WordPress/site files normally go into the S3 bucket in order to get optimal use as a CDN?

Normally the defaults should suffice i.e.,

You'd want to check these options under the "General" section:

  • Host attachments

  • Host wp-includes/ files

  • Host theme files

  • Host minified CSS and JS files

  • Host custom files

And under "Advanced" section:

  • Modify "Theme file types to upload" to something like this:

    *.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf,*.woff,*.eot,*.svg
    

That should do it.

share|improve this answer

Move static assets (js and css),media , theme files etc. All the options W3tc gives you. Best regards.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.