WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] CDN Not Working Properly (31 posts)

  1. ishan001
    Member
    Posted 3 years ago #

    I just noticed that CDN feature of W3 Total cache is not working as expected. I recall that it used to replace wp-content images with ones from CDN but now, it is not doing this.

    For example, if you go to my homepage: http://bloggingwithsuccess.net/ and see source of first thumbnail, it is http://bloggingwithsuccess.net/wp-content/uploads/2010/12/Searching-Thumb.jpg while with CDN Activated, it should be http://cdn.bloggingwithsuccess.net/wp-content/uploads/2010/12/Searching-Thumb.jpg

    This file is present at CDN, but plugin isn't using it. So basically, files are being uploaded and I am being charged for that but they aren't served, so no performance gains for me!

  2. arkarthick
    Member
    Posted 3 years ago #

    Your CDN is working well along with W3TC now. Just check it out.

  3. ishan001
    Member
    Posted 3 years ago #

    No, it is not working. Some of the images are being served from CD because I have hard coded them.
    However, images that W3 Total Cache should automatically serve from CDN are not being served from there, instead they are being served from local server!

  4. ishan001
    Member
    Posted 3 years ago #

    Wait, it has started working. I had read in separate thread that deactivating and then activating the plugin again can fix the problems. I just did that and now images are automatically being served from CDN.
    Problem Solved.

  5. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Who was your CDN provider?

  6. ishan001
    Member
    Posted 3 years ago #

    Amazon Cloudfront.

  7. idevguy
    Member
    Posted 3 years ago #

    Any updates on this? I't not working as expected for me either. If I deactivate and reactivate the plugin it will work for some time but eventually it will stop serving files from the CDN until I deactivate and reactivate again... I am also using Cloudfront as the CDN.

  8. ishan001
    Member
    Posted 3 years ago #

    For me, it has been working well since that issue. Not noticed problem again.

  9. antosha
    Member
    Posted 3 years ago #

    I have the exact same issue!
    After reinstalling the plugin it works for 2 days, and then at some point, stops replacing the URL pointing into my S3 subdomain.
    Described in this topic: http://wordpress.org/support/topic/plugin-w3-total-cache-cdn-url-replacement-stops-working

    Anyone knows how to fix this?

  10. Tom
    Member
    Posted 3 years ago #

    Was this actually resolved? I'm having the same problem, within 20 min or deactivating and reactivating it stops serving from my cdn.

  11. Peter Murray
    Member
    Posted 3 years ago #

    Another data point -- the same thing happens to me. WordPress 3.0.4 with W3TC 0.9.1.3 and Amazon CloudFront. I don't have to reinstall the plugin; simply disabling/re-enabling gets W3TC to rewrite URLs to the CDN. Then at some point it stops rewriting URLs.

  12. idevguy
    Member
    Posted 3 years ago #

    No response or action taken on this as far as I can tell, pretty bothersome. Anyone hear anything from Frederick on this at all?

    It's still consistently happening to me across multiple sites, kind of defeats the purpose of taking the time to set this up if its not going to work.

  13. kfawcett
    Member
    Posted 3 years ago #

    Yeah it seems like Fredrick is too busy to support this plugin. I've posted a few problems related to the CDN with multisite and even sent in a bug report through the plugin with no response.

    I'm no longer using the CDN for the time being.

  14. joshg01
    Member
    Posted 3 years ago #

    I am using cloudfront as well and everything worked ok at first but now it seems that my theme files (images) aren't being served from the CDN any longer. I can disable/re-enable the theme and it still doesn't work. It only seems to be serving a few items from the CDN and those are images that are in the media library.

  15. western592
    Member
    Posted 3 years ago #

    Check to make sure your Unsuccessful file transfer queue is not full of errors. If this queue is full of errors, it may prevent some files from using the cdn. Use the delete queue option when viewing to empty the queue.

  16. joshg01
    Member
    Posted 3 years ago #

    Looks like that was the problem. I'm not sure I would have ever figured that one out. Thanks!

  17. hydn
    Member
    Posted 3 years ago #

    Are there any wordpress Amazon s3 alternative plugins?

  18. ishan001
    Member
    Posted 3 years ago #

    @hydn

    I have not found any.
    And guys, looks like the problem is back for me too! So, we are in same situation.

  19. idevguy
    Member
    Posted 3 years ago #

    I think its time to find a different location to go looking for support, doesn't seem like any will be coming this way. If I find anyone interested in doing something about this I will post back here.

  20. kfawcett
    Member
    Posted 3 years ago #

    You could always use the support feature on the plugin and request paid support. I'm sure that the help would be much faster that way.

    You can't expect every question on he to be answered quickly when its free.

  21. idevguy
    Member
    Posted 3 years ago #

    nobody expects an immediate or even quick reply, it's been over a month since Frederick posted in here. Paying for premium support is an option but not one I feel should be required for something like this. If I need something thats specific to me, a customization etc then I would be willing to pay. If the plugin is broken it should either be fixed/updated or marked as no longer supported.

    If they came in here and said "sorry, we can no longer support this plugin for free" then I would stop asking and move along and find another solution, as would the others I assume as well.

  22. esmi
    Forum Moderator
    Posted 3 years ago #

    Since it is obvious that some people have no problems with this plugin, you cannot state that the plugin is broken. Secondly, just because a plugin is free, doesn't mean that support has to be free as well.

  23. idevguy
    Member
    Posted 3 years ago #

    I said "IF the plugin is broken" not that it was... some form of communication from them is all I am looking for, not a freebie etc.

    I feel I was pretty clear about what I would like to see.

  24. kfawcett
    Member
    Posted 3 years ago #

    What might help everyone solve this problem is posting the exact server setups you are running. OS, php, mall etc. And also what cache and other settings you are running. Are you using memcache, apc, etc.

    This way we can see if there is something related to all of your setups.

  25. Tom
    Member
    Posted 3 years ago #

    I had this problem where my cdn would break after re-enabling the plugin with in 20 minutes. The solution was what western592 said, I checked the Unsuccessful file transfer queue. That's what breaks the cdn from working. For me it kept filling up because I had Enable changed files auto-upload under advance in the cdn section. Once I deselected that the plugin works fine now.

  26. joshg01
    Member
    Posted 3 years ago #

    Exactly, the solution from western592 worked perfectly for me as well. Once I got all the file transfer queue cleaned out I did a quick check on pingdom and everything was downloading from the right place again.

  27. hydn
    Member
    Posted 3 years ago #

    What about cache control headers? Anyone have that working? It wont set headers on uploaded files for us. Cache control headers can save you $$$ with amazon s3.

    For us it uploads fine but just won't set headers.

  28. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Make sure you've actually enabled the settings for headers on the browser cache settings tab before exporting, or re-export with overwriting if you've made a mistake or make changes.

  29. hydn
    Member
    Posted 3 years ago #

    Can't get browser caching to work with IIS 7 so it's disabled. But enabling does not work. We use mod_rewrite for IIS and when enabled it adds the rules ro htaccess but they have no effect on uploaded files.

  30. dzinga1
    Member
    Posted 2 years ago #

    How did you get file transfer queue cleaned out? I cant seem to be able to find this option in the latest version of plugin. I am also experiencing the same issue, the plugin suddenly stopped serving static content from maxcdn. Has anyone managed to fix this bug? Thank you so much

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic