Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: A warning about W3 Total Cache plugin and Adsense...

  1. #1
    Thread Starter
    jschodde's Avatar
    Join Date
    Apr 2009
    Location
    Anthem, AZ
    Posts
    154
    Thanks
    3
    Thanked 1 Time in 1 Post

    A warning about W3 Total Cache plugin and Adsense...

    Today while looking at my site, I noticed on the bottom of the page where my Adsense ads should be located was a single line of text reading: "Code corrupted. Insert fresh copy.". At first I thought maybe my Adsense code was hacked somehow so I happily repasted the code but got the same error.

    I then went to view the page source and everything was compressed - no linefeeds and minimal spacing. Aha! Then I remembered I implemented W3 Total Cache the other night! This plugin has the ability to "minify" javascript files among other things. I changed the settings under Minify for JavaScript to no longer remove linefeeds and viola! My Adsense came back.

    Hopefully that's the only setting I have to change.

  2. #2
    Veteran sarge's Avatar
    Join Date
    Jun 2009
    Location
    USA
    Posts
    628
    Thanks
    2
    Thanked 9 Times in 9 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    Are there any significant benefits for such a plug in?
    Always treat everyone with respect and courtesy, but trust no one.

  3. #3
    Thread Starter
    jschodde's Avatar
    Join Date
    Apr 2009
    Location
    Anthem, AZ
    Posts
    154
    Thanks
    3
    Thanked 1 Time in 1 Post

    Re: A warning about W3 Total Cache plugin and Adsense...

    Quote Originally Posted by Sarge
    Are there any significant benefits for such a plug in?
    Well, the two biggest advantages from what I understand are:
    #1. memcached - which "is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load." It's only useful if your host provider has in installed.

    #2. Transparent content delivery network (CDN) support which will offload various objects like photos, javascript, css and more onto a selected CDN. I'm trying out SimpleCDN at http://www.simplecdn.com/

    Additionally, this plugin will "minify" css, javascript and more.

    More here: http://wordpress.org/extend/plugins/w3-total-cache/

    And I'm taking a huge leap and moving away from shared hosting and putting everything onto a virtual private server (VPS) so I can control just about anything, and get better performance overall.

    A lot of this is new to me so I'm learning as I go.

  4. #4
    Rookie
    Not a Verified Customer
    ftownes's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    Quote Originally Posted by jschodde
    Today while looking at my site, I noticed on the bottom of the page where my Adsense ads should be located was a single line of text reading: "Code corrupted. Insert fresh copy.". At first I thought maybe my Adsense code was hacked somehow so I happily repasted the code but got the same error.
    Would you be able to either send me the HTML or allow me to test a private page that has the symptom to which you refer?

    Quote Originally Posted by Sarge
    Are there any significant benefits for such a plug in?
    @jschodde is right. The plugin basically gives your blog all of the power that major companies like twitter, facebook etc put into their applications. Testing shows no less than 50% performance improvement over wp super cache for example, and that's only testing the page cache. The plugin caches/compresses/minifies feeds, CSS, JS and also caches your database objects. It's typical to find sites that took ~6-8s to load loading in ~3s after the plugin is fully configured.

  5. #5
    Junior Member
    Not a Verified Customer
    oviliz's Avatar
    Join Date
    Jan 2010
    Location
    Turin, Italy
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    W3 Total Cache are great with a VPS solution... but I have a shared hosting

  6. #6
    Rookie
    Not a Verified Customer
    ftownes's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    It is also 100% compatible with shared hosting. Give it a try, you don't even have to change any settings to make WordPress 50% faster.

  7. #7
    Junior Member
    Not a Verified Customer
    oviliz's Avatar
    Join Date
    Jan 2010
    Location
    Turin, Italy
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    I try it for some months in 2 different blog (one old but updated WP with many post and one new with a fresh WP install with the default post). I have a GS plan to MediaTemple.
    In ALL cases the WP run more slow with the plugin than no cache plugin. !?

    I'm returning to WP Super Cache (seems not more updated) and the WP run more fine...

  8. #8
    Rookie
    Not a Verified Customer
    ftownes's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    I'm sorry to hear that, but you should know that it's not possible. The cause can only be improper installation. You can see some testimonials here, the plugin is quite robust: http://twitter.com/w3edge/favorites" onclick="window.open(this.href);return false;

  9. #9
    Junior Member
    Not a Verified Customer
    oviliz's Avatar
    Join Date
    Jan 2010
    Location
    Turin, Italy
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    I know, is strange. But I think W3TC is for different target (CDN, APC etc.), especially for who have money to spent into a VPS solution + CDN (+ LiteSpeed ). For this reason I think W3TC is great for a dedicated hosting solution.

  10. #10
    Rookie
    Not a Verified Customer
    ftownes's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A warning about W3 Total Cache plugin and Adsense...

    I don't understand. W3TC specifically works on any shared host by default. APC etc is not required. CDN can work even on shared hosting. Please read the FAQ etc.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Plugin or something
    By krakkamike in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 5th, 2009, 08:12 PM