WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Random Blank Pages - w3 total cache (103 posts)

  1. mitul shah
    Member
    Posted 9 months ago #

    @Mike_wike did you edit .htaccess file? if not so please once remove w3tc related lines.

  2. RamboMoe
    Member
    Posted 9 months ago #

    Yes, I too suffer from the white screen of death. W3 Total Cache is like the hot girlfriend who is perfect in every way, except she has a small crack smoking problem.

    Mitul, I clicked the link to your tutorial... but sadly, all I got was the white screen of death.

  3. gooma2
    Member
    Posted 9 months ago #

    Our hosting Liquid Web is going through this now to figure out the best solution to this.

    We uninstalled W3TC plugin with the extra files and it wound up taking our server out (and we've got a very beefy dedicated one). They've been getting complaints of the same nature all month so they're now working on a solution that we'll share on here.

    Has anyone tried reverting to an earlier version to see if that solves the problem?

    What sucks is that I paid the developer (or his employee) to configure W3TC to work perfectly with my site and it appears you have to pay again if this type of issue comes up. $400 was a lot for something that only worked for a few months. Never again.

  4. gooma2
    Member
    Posted 9 months ago #

    Now Inmotion Hosting and Liquid Web are recommending people just uninstall W3 Total Cache completely and use WP Super Cache as that's not causing any issues whatsoever right now.

  5. Triseult
    Member
    Posted 9 months ago #

    The blank page issue is really, really too bad... I tried quite a few caching plugins and none are as full-featured and comprehensive as W3. But alas, I simply cannot use it. :/

  6. njs7227
    Member
    Posted 9 months ago #

    I am not any sort of expert - but I did want to chime in and say that I solved that white/blank page issue by unchecking the browser cache option. When I was installing W3TC, I did a lot of research/browsing and one person had mentioned that browser cache will sometimes mess up a display, so when I woke up one day, pulled up my beautiful site to admire it (Mirror, Mirror on the wall;0) and saw white, I remembered that caveat, clicked off browser cache, and I haven't had the problem since.

    It may not solve it for you, but it worked for me.

  7. gooma2
    Member
    Posted 9 months ago #

    thanks njs, I tried that, but the issue seems to be that the plugin is now requiring us to clear the cache continually so we don't get the blank white page.

    when you unclick something on W3 Total Cache it clears the cache so it appears everything is fine, but after some more clicks, the white page comes. back.

    I've even tried this with unchecking the page prime function to see if that is the issue.

    Now that GoDaddy, InMotion Hosting and Liquid Web are letting their customers know to just completely uninstall W3TC and replace it with WP Supercache, I'm surprised that there's not been a fix done on this after this period of time.

  8. mitul shah
    Member
    Posted 9 months ago #

    @njs ryt. I am still using w3tc no problem ryt now.. but when i started using w3tc its causes same problem for me..but i still want use w3tc cause without w3tc yahoo page speed 'c' grade even i use msxcdn. when i connect maxcdn to w3tc again i got white screen error. after compeletly uninstall w3tc. again i install w3tc and config correctly but never integrate maxcdn service now its working fine..so, if you are using cdn service then i must say don't integrate cdn service with w3tc or wpcache...and w3tc leverage cache and cache header, mirror page in browser cache leave disable and write leverage browser cache manually in .htaccess file. its work better.

    don't use minify, object and databse cache...leave it by default..at lease your yahoo rank boost with w3tc...

  9. gooma2
    Member
    Posted 9 months ago #

    when you have to turn off nearly all the selling points on a plugin, that's not too good. it's like if WordPress started letting all the things we like about it go into disarray and never bother fixing them...

  10. ajoshi0
    Member
    Posted 9 months ago #

    This is a horrible plugin. I have tried everything possible and with every scenario I end up with the WCOD. I even replaced all the wordpress files. Reinstalled the plugin countless times, even doing into the dB and deleting all signs of w3. I wish the author would look into this. There has to be some loose end otherwise how can thousands of websites be running this plugin and thousands of users raving? I hope to see a response from the author soon.

  11. gooma2
    Member
    Posted 9 months ago #

    the last time there were major issues with the plugin,it was over a year before they came back with a major change so we'll see.

    There doesn't seem to be an easy fix for these issues as they require you to continually keep clearing cache which goes against why we even would use a caching plugin.

  12. Ihor Vorotnov
    Member
    Posted 8 months ago #

    Seems like this problem is not fixed, right? Spent few hours installing and configuring everything, plugged in my S3, tuned everything up. It worked fast, I was happy. Than I just opened another browser (where there was no local cache for this website and I wasn't logged as admin to wp) and saw a white screen. Googled, and I'm here.

    Disabled page cache. Working for now, needs some additional tests. But hey, why use W3TC if I can't cache pages?

  13. gooma2
    Member
    Posted 8 months ago #

    It's been a weird one since this same thing seems to be affecting all the caching plugins leading me to believe this has to do with the last WP update and all the plugins have some common script patterns.

    I did a thorough check with my server just to make sure, but after extensive testing, it's the caching plugins causing the issue.

    Ironic that you have to keep clearing out the cache of the caching plugin to get it working properly. The fact that none of the caching plugin developers have really spoken of this definitely doesn't look good for a fix any time soon.

  14. Ihor Vorotnov
    Member
    Posted 8 months ago #

    I've spent all night trying different settings and checking if it works or not. Figured out that the problem (at least with my website) was with the Page Cache Debug turned on (WP Admin -> Performance -> General Settings, Debug section, Debug Mode: Page Cache 'checked'). When turned off, cleared and rebuilt all caches - seems to work fine. Pages are cached, everything is working now for both logged in users and not, in different browsers etc. Tested via tools.pingdom.com, Google Page Speed and numerous other resources - all of them worked and showed good rating for my site. Before, when I had blank screen, tools.pingdom.com (and others) was loading only this blank white page. Now it seems to work. Will ask some friends to check the site tomorrow to see if someone will get the white screen. I hope not ;)

    BTW, had to turn off CDN as well, because all performance analyzing tools were telling me to minimize redirects from a CNAME mapped subdomain (media.mydomain.com) to Amazon S3 bucket (media.mydomain.com.s3.amazonaws.com). I thought mapping a subdomain to S3 bucket will not cause any redirects 'cause it goes on a DNS level. Seems like I was wrong. Anyway, for this particular website 98% of visitors are from Russia and Ukraine, server is located in Russia, so it serves static files to local visitors much faster than Amazon S3 - 25ms vs 150-200ms ping makes the difference.

  15. ajoshi0
    Member
    Posted 8 months ago #

    THOR - I just disabled all debug and cleared the cache and the blank pages are gone!!!

    Great Job!!!

    Too bad the moderator or the developer could not come up with this simple suggestion

    -AJ

  16. gooma2
    Member
    Posted 8 months ago #

    AJOSHI0

    keep an eye out and see if the blank page returns. when you make any slight changes on W3TC the blank page issue goes away temporarily as it does when you clear the cache. It returns again sadly.

  17. Ihor Vorotnov
    Member
    Posted 8 months ago #

    ajoshi0, glad it helped you :) Often solutions are really, really stupid simple, that's why it's hard to find them.
    gooma2, yes, we know that. I did a lot of testing, logged in and out, asked many friends from around the world to check the site - logged in and out as well, from different browsers and clearing browser cache. Everything is working fine now. I'm not telling this fix will definitely help anyone in all possible cases, but it helped me and at least one more person. Seems like it's worth a try.

    I got my hands a bit deeper on this and my suggestion is that if there are some particular feature(s) not supported by your server config (or php config) but needed for debug mode to work properly, it encounters error / warning / notice or smth like that and stops execution. That's why it writes a blank file to the cache. Definitely needs some more testing to find the roots but I don't have time right now to do this. W3TC now works on my site and I'm happy.

  18. njs7227
    Member
    Posted 8 months ago #

    I've been playing around with the W3TC settings after reading Ihor Vorotnov's post. My suggestion above did stop the white screen, but when I ran GT Metrix, I got a score of 70 page speed and 87 yslow (I have 2000+ pages), which are not optimum scores. And page load speed of 3.77 seconds, which is not too, too bad - I had a site once where the page load speed was 24 seconds - yikes.

    So I unchecked all options in debug mode - since it says at the beginning of the section "Performance in this mode will not be optimal, use sparingly and disable when not in use." I'm not using debug mode, mainly because I wouldn't know the first thing about it and ignorance is bliss...so I unchecked them all.

    GT Metrix score was now 86 page speed and 89 yslow.

    Then I turned off Amazon CDN.

    Score was now 96 page speed and 90 yslow. I thought a CDN was supposed to improve site's performance but my findings were not supporting that.

    THEN, I turned browser cache back on (I just wanted to see if my changes somehow fixed the white screen also) and I added the 5G blacklist from this page http://perishablepress.com/5g-blacklist-2013/.

    Final score is 96 page speed, 92 yslow, page load time 1.06 seconds (for 2000+ image-heavy pages, although all the above tests were just for the front page which is the most image-heavy).

    I then tested it in Firefox after clearing cache and Internet Explorer which I haven't used in weeks so there should have been no browser cache, and no white screen of death. I'll check them again at the end of the week and see if my changes hold up. If I get the white screen again, then the browser cache is being turned off permanently.

  19. gooma2
    Member
    Posted 8 months ago #

    hopefully that will help. I was getting excited at first too when I made a change the white blank screen went away, but then it would return within a day or two.

    eventually one of the cache plugin developers will figure out what's causing this across all of them.

  20. Ihor Vorotnov
    Member
    Posted 8 months ago #

    njs7227, about this:

    I thought a CDN was supposed to improve site's performance but my findings were not supporting that.

    It actually does. It makes pages load faster in most cases. Don't rely only on scores. Every file hosted on CDN adds a redirect (request is actually made to a local origin and W3TC is redirecting it to CDN version). Google Page Speed, YSlow and other tools decrease your score because of that with a simple recommendation - 'minimize redirects'. Check your site with http://tools.pingdom.com and review the results in detail.
    Serving static files from CDN means that a user can send more simultaneous requests and download more files/assets at once. At the same time, serving large files from CDN decreases your server load, and it definitely improves overall performance, especially for high traffic websites. This makes a huge difference if you have short ping to CDN servers. I live in Ukraine, the closest and fastest S3 location is Ireland with 150-200ms ping. US locations are even slower. So, for any local ukrainian or russian visitor serving files from a local ukrainian server with 15-25ms ping will be much faster.

  21. luigidelgado
    Member
    Posted 8 months ago #

    Im having still this same issue. It was gone but came back again after some days... we are pretty sure its a W3TC issue.
    Pages que published but content isnt showed. You purge cache for that page and the content will come back. The problem is we are having this very often now. Purging cache wont help for that much, it will just fix the problem from published content but not for new content.

    If there is no fix to this I will change the plugin ASAP.

  22. njs7227
    Member
    Posted 8 months ago #

    After I unselected CDN, though, I could immediately tell my pages were loading faster even without knowing the "scores". When I ran the GT Metrix, it only ended up supporting my feeling that not having the CDN improved performance - go figure. And regardless of the grade, a page load speed of 1.06 seconds is something I can live with.

  23. Ihor Vorotnov
    Member
    Posted 8 months ago #

    luigidelgado, are you on shared hosting or vps? Have another idea to check. It's working fine on my website but I already got my hand dirty on this issue, will try to figure out what's wrong.

    njs7227, seems we have the same scenario. You can check ping to your CDN and see if it's high. But even with high ping CDN will be useful if your site receives high traffic - it will distribute requests and load. By high traffic I mean more that 1000000+ hits per day.

  24. gooma2
    Member
    Posted 8 months ago #

    CDN can be your site's lifesaver in pageload if you have a lot of images too! it can be how you have it set up too.

    we have created 4 sub-domains on our site that are all connected through our MaxCDN Pull Zone. By having 4 subs, it breaks each one up for images, js & css so they're pulling from those areas rather than just one spot.

    When it comes to measuring page speed, you'll usually wind up with different scores on each place you test.

  25. luigidelgado
    Member
    Posted 8 months ago #

    Ihor: I have a cloud/ dedicated cluster. The thing is its a local news site and its having this issue very often.

    In my case I do have CDN connected but in my case we are using Cloudflare Business.

    So if I disconnect CDN (i have cloudflare plugin also) could this issue fade away?

  26. Ihor Vorotnov
    Member
    Posted 8 months ago #

    luigidelgado, in your case I really don't know and can't even reproduce your environment. My recent idea was in completely different direction, it's not your case. Already tested it, didn't worked (

    Regarding how I fixed this WSOD for my website - I actually managed to make it work fine with CDN. Disabled it just because it's too slow for my region (local ukrainian and russian traffic). CDN wasn't causing that WSODs. Turn off all caches one by one. Than turn them back on one by one, but, as soon as you check the "Page Cache" checkbox, BEFORE saving settings scroll down to DEBUG section and uncheck everything (the first checkbox is being turned on by default, as I noticed). Then save settings and countinue turning on all other caching methods you use. After that clear and rebuil all caches. It worked in my case, tried this several times. Restored DEBUG, got those WSODs again, repeated described steps - and everything is working again.

  27. pwizard
    Member
    Posted 8 months ago #

    None of these solutions work for me. I installed and it was working great for 2 days. Then I activated another plugin, and that was it. I removed all the file, reinstalled, click activate, and then just blank.

    I hope there is a solution to this.

  28. Ihor Vorotnov
    Member
    Posted 8 months ago #

    I was researching on optimizing website performance and load speed and found an interesting hint. While this is not related to the WSOD bug, it may be useful for njs7227 and everyone else using CDN.

    First, if you map your CDN service or S3 bucket to your subdomain you will have redirects.

    Second, browsers will prefetch DNS only for your subdomain, not the actual location of a file. You will have non-prefetched DNS lookups, it can significantly decrease load speed, especially if you have many files linked to CDN.

    The solution:
    Let's say you have files.domain.com.s3.amazonaws.com mapped to files.domain.com. In your HTML add this tag to your HEAD section right after the charset definition:
    <link rel="dns-prefetch" href="//files.domain.com.s3.amazonaws.com">
    This will tell browser to prefetch DNS lookup of this domain address, and when the actual request and redirect is made, the DNS lookup part will be skipped (it's already prefetched) making it respond faster.
    Tested, it really helps.

    I'm not sure yet how Amazon serves this subdomain internally, right now testing if adding one more prefetch link for s3.amazonaws.com will make it even faster.

  29. gooma2
    Member
    Posted 8 months ago #

    @pwizard this has been the issue. it only seems to work when you either make a slight change in the plugin or clear the cache.

    naturally a caching plugin is rendered obsolete when it requires the user to constantly clear out the cache for it to work properly...

    I've even submitted a bug report with no response and I've been a paying customer of them too this year!

  30. Barukar
    Member
    Posted 8 months ago #

    @Frederick Townes

    I'm using the latest versions of WordPress and W3 Total Cache, and I have the same problem. (Theme Genesis + eleven40 Child Theme)

    Is there some foresight to fix this problem?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic