WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP Super Cache recommendation for Minify, CDN and header expires (12 posts)

  1. bluesalman
    Member
    Posted 1 year ago #

    1. CDN Cloud Front on multisite: I am using Wp Super cache, I have enabled CDN on root site and 3 sub-sites. I created only one bucket for root site and created a distribution. Bucket name is cdn.mysite.com.
    After creating distribution i updated WP Super cache CDN fields with this S3 bucket name cdn.mysite.com on root site and also on 3 sub-sites.
    I checked page source and almost all css/js files are being served by this url http://cdn.mysite.com/wp-content/xxx

    Is it the correct setup for multisite?

    2. Minify/Combine: I am unable to use any plugin for with WP Super Cahce to minify and combine JS/CSS , rather those plugins are increasing my page load time. I have tried Wp-minify, better wp minify, and cdn sync tool also.
    They all break the plugins/theme functionality on my website specially JS/AJAX feature, like apply online form will remain open without clicking apply online

    Please suggest what will be best option to successfuly deploy minifying and combining css/js on multisite?

    3. Page headers: I have setup wp wuper cache page expires to 3600 and garbage every 1200seconds. That seems to work fine,
    I believe that this page expires setting is different than page header expires, but i am not sure if it is sae to use those .htaccess settings while i am also using WP Super Cache. When i check on yslow it gives me F on "Add expires headers"
    [It says There are 53 static components without a far-future expiration date.]

    Should i use .htaccess expires setting to achieve higher grade for the above?

    Please provide your expert opinion.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Brin Wilson
    Member
    Posted 1 year ago #

    Did you ever crack this? I'm in exactly the same boat...

  3. Michael Cannon
    Member
    Posted 1 year ago #

    Ideas?

    On the breaking things like Ajax, are you outputting anything via debug?
    Is dynamic content caching enabled?

  4. talgalili
    Member
    Posted 1 year ago #

    +1 for the question...

  5. Michael Cannon
    Member
    Posted 1 year ago #

    I'm pretty happy using Autoptimize and WP Super Cache together. It seems there's enough ability to custom easily to get over the little hurdles I had without being complicated.

  6. talgalili
    Member
    Posted 1 year ago #

    Thanks Michael,
    I also started using it today and am very pleased.
    Another great plugin is:
    http://wordpress.org/plugins/wp-smushit/

    What I don't see is how to deal with expire headers easily, any suggestions?

  7. Michael Cannon
    Member
    Posted 1 year ago #

    What do you mean expire headers?

  8. talgalili
    Member
    Posted 1 year ago #

    My apologies, I meant:
    browser caching

  9. Michael Cannon
    Member
    Posted 1 year ago #

    Ah… personally I use something like this .htaccess from my TYPO3 sites.

  10. talgalili
    Member
    Posted 1 year ago #

    Thanks Michael, that is very helpful!

    By the way, did you find any solution for deferred loading of things like Facebook or even jetpack elements. Also, any suggestions on sprite images?

  11. Michael Cannon
    Member
    Posted 1 year ago #

    For sharing, there's http://rtcamp.com/rtsocial/. It's a non-blocking model that seems to work nicely.

    On sprite images, that's a per theme and site customization.

  12. Thomas Maier
    Member
    Posted 1 year ago #

    Regarding Minify:
    I know this is a shot in the dark, but I recently had huge problems with minified files until I discovered that an ad blocker in my browser prevents the minified file from being loaded if just one js file is suspicious for it.
    I just BWP Minify and just added the suspicious to the exceptions and it workes now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic