Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Exclude some widgets?

  • Arash

    (@john25)


    This is an amazing plugin! Website speed went from 3,2 seconds to 1,2 seconds. Thank you for making this plugin.

    Is it possible to exclude some sidebar widgets from the cache?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Frederick Townes

    (@fredericktownes)

    Yes using fragment caching. Check the usage section of the FAQ for more details.

    Arash

    (@john25)

    Thank you I am going to try that.

    Plugin Author Frederick Townes

    (@fredericktownes)

    Ok, let me know how it goes.

    Arash

    (@john25)

    I can’t find it anywhere on the WP faq or on your website

    http://www.w3-edge.com/faq/how-do-i-implement-fragment-caching/ gives 404

    Then I finally realized in this in the faq of the plugin! Stupid of me not to look there first.

    Does it only work with php or can I exclude some html parts of my template?

    Plugin Author Frederick Townes

    (@fredericktownes)

    It’s for PHP really.

    Arash

    (@john25)

    It would be great for html and js

    Because currently plugins like wassup do not work with W3 Total Cache.

    Also if you have html ads or use a plugin such as adrotate, it does not work.

    Also OpenX that uses a transparent gif file to measure vieuws does not work.

    Basically it is an amazing plugin when it comes to speeding up you webload and more importantly it can definitely stand up to a “digg effect”. But if ads are not probally measured and if visitors stats are not properly measured, then it can cause in loss of revenue and loss of advertisers.

    Plugin Author Frederick Townes

    (@fredericktownes)

    Also OpenX that uses a transparent gif file to measure vieuws does not work.

    I don’t understand how this could be true.

    As for the rest, I’m not sure I understand the cases. What plugins and implementations are you referring to?

    Arash

    (@john25)

    Sorry for not adding plugin links

    Wassup
    http://wordpress.org/extend/plugins/wassup/

    This is a statistics measurement tool. It does work with W3 Total Cache, but not fully. With the total cache (page cache) the statistics only measure about 1/3 of the views.

    AdRotate
    http://wordpress.org/extend/plugins/adrotate/

    Similar case, with W3 Total Cache not all views are measured, just the ones that where cached. This causes 2 problems. 1 not all ads are shown probally. 2 the same ad keeps on showing, although this is not correctly measured by DART and other ad-statistic tools = less revenue.

    OpenX
    It seems that the code to measure OpenX is also cached. Again only a fraction of the views are measured by OpenX.

    There is a plugin called WP Cache Block and this does allow the user to only cache parts of the page. This way all adds, measurement tools and so on can be excluded. Compared to W3 Total Cache it is still a baby, but if you could add that feature to W3 Total Cache it would make it even better.

    Plugin Author Frederick Townes

    (@fredericktownes)

    You can use fragment caching in W3TC as well, examples are in the usage section of the FAQ. I’m sorry I don’t have the time to investigate each of these plugins. Can you ask the authors of each how to make their plugins work with caching. I’ll be happy to help them when I have their input.

    Arash

    (@john25)

    Thank you Fredreick

    But didn’t you say that fragment caching in W3TC only works with excluding php and not html or other codes?

    Plugin Author Frederick Townes

    (@fredericktownes)

    I’m just not sure what kinds of cases you’re talking about. HTML is static and doesn’t need fragment caching.

    Arash

    (@john25)

    A simple case is for example:

    <a href="URL"><img src="IMG"/></a>

    The image in this case is a ad. When the ad is cached you cannot charge based on views.

    So if you agree on $3 CPM and at the end of the week there are 20.000 views, you send a bill for $60. But with W3 total cache, there are now only 4.000 views, so you only get $12.

    <a href="URL"><img src="IMG"/></a> cannot be excluded from cache, unless it is turned in to a php

    With something simple it is no problem. But most plugins are not simple, they are complex and thus you cannot exclude their output from W3 Total Cache.

    Is my explanation more clear this way?

    Plugin Author Frederick Townes

    (@fredericktownes)

    Your examples are incomplete. I’ve never seen an ad network server ads with static HTML as opposed to JavaScript. If you have your own logic, the same add would be generated by having a script as the src. If you have a plugin generating the <a> and <img> then you would wrap the function call in mfunc comments as noted in the FAQ, so the net result is that static HTML does not need fragment caching alone. Static HTML is always the result of some scripting.

    Try http://en.wikipedia.org/wiki/DoubleClick

    All ads (static html or not) served unsing DoubleClick are cached by W3 Total Cache.

    Plugin Author Frederick Townes

    (@fredericktownes)

    I’m familiar with DFP and I still have no idea what you are talking about. Please submit a bug submission form from the support tab of the plugin.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: W3 Total Cache] Exclude some widgets?’ is closed to new replies.