• noisegate95

    (@noisegate95)


    I just turned up debugging to finalize a re-install of the plugin. http://blog.noisegate95.com. Been having problems with page load times at all the page speed shops. Low and behold, the info is coming up, on every page, after clearing cookies, cache etc. Anyone help out with this one? I kept debugging on. Thank you.

    <!– W3 Total Cache: Page cache debug info:

    Engine: disk: enhanced

    Cache key: _index.html

    Caching: disabled

    Reject reason: DONOTCACHEPAGE constant is defined

    Status: not cached

    Creation Time: 7.967s

    Header info:

    Expires: Thu, 19 Nov 1981 08:52:00 GMT

    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

    Pragma: no-cache

    X-CF-Powered-By: WP 1.2.1

    X-Pingback: http://blog.noisegate95.com/xmlrpc.php

    X-Powered-By: W3 Total Cache/0.9.2.4

    Content-type: text/html; charset=UTF-8

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter noisegate95

    (@noisegate95)

    Well it seems that I had the DONOTCACHEPAGE directive in my sidebar.php file thinking it was just for sidebar – this according to another site. I didn’t want to cache my sidebar dynamic content. However that did not fix the problem.

    After disabling all plugins in random order, i chose to move to page cache disk basic rather than enhanced. Once I did that, the first byte was much shorter. Not what it used to be, but much better.

    Does anyone know why this is?

    Thread Starter noisegate95

    (@noisegate95)

    I still would like to disable caching on my sidebar. I read the faq about fragment caching, but where in the world do I place that code?

    Thread Starter noisegate95

    (@noisegate95)

    I really cannot be the only one asking this same question. My sidebar is full of dynamic content. I do not want it cached. http://blog.noisegate95.com

    Anyone?

    I wonder the same thing too. I have recent comments/posts, and twitter widget…. they don’t work for jack with this plugin. I’ve tried inserting the following lines under “Never cache the following pages” in Page Cache option (no luck at all):

    wp-.*\.php
    index\.php
    twitter.*\.php
    comments.*\.php
    widgets.*\.php
    sidebar.*\.php

    I have found that disk enhanced has never worked for me while using the debug output. I usually check to see if it is working by keeping an eye on my load speed of the main html file and the contents of the wp-content/w3tc/pgcache/ folder. If the speeds are fast and the folder has content, then it is working.

    I haven’t worked with fragment caching yet, so take this with a grain of salt. According to my understanding, the sidebar could be seperated from the cache this way.

    <!-- mfunc
    get_sidebar();
    -->
    <!-- /mfunc -->

    According to what I have seen, this function call doesn’t need to be surrounded by “<?php ?>”, but I could be wrong. Try it that way first, if it doesn’t work, then surround it with the php tags.

    Nope it’s not working. I am using “disk enhanced” I tried the follow but without success.

    <!– mfunc –>get_sidebar();<!– /mfunc –>

    <!– mfunc get_sidebar(); –><!– /mfunc –>

    <?<!– mfunc get_sidebar(); –><!– /mfunc –>?>

    <!– mfunc <?php get_sidebar(); ?> –><!– /mfunc –>

    For now, fragment caching doesn’t work with Disc Enhanced. Will have to use other cache engine inorder to use that.

    To use mfunc <!– mfunc –>get_sidebar();<!– /mfunc –> should work. Use with browser cache and a short value in HTML & XML header lifetime for best result.

    Thread Starter noisegate95

    (@noisegate95)

    Thanks for the reply Frederick. It’s been a while since I posted this – where exactly are you supposed to place that code? My original question…

    @noisegate95: you place that code wherever your get_sidebar() function call is. For example, mine is called in single.php, category.php, page.php, etc.

    Right.

    Thread Starter noisegate95

    (@noisegate95)

    So, I did a search and came up with two files – header and footer.php that call the sidebar. I replace the get_sidebar(); with <!-- mfunc -->get_sidebar();<!-- /mfunc --> and my sidebar does not show up.

    Maybe I’m doing something wrong? This shouldn’t be this difficult, should it?
    Original:

    /* Sidebar 2 on the right side? */
            if ( graphene_column_mode() == 'three_col_left' ){
                get_sidebar( 'two' );
            }
    
    		/* Sidebar 1 on the right side? */
            if ( in_array( graphene_column_mode(), array( 'two_col_left', 'three_col_left', 'three_col_center' ) ) ){
                get_sidebar();
            }

    New:

    /* Sidebar 2 on the right side? */
            if ( graphene_column_mode() == 'three_col_left' ){
                <!-- mfunc -->get_sidebar( 'two' );<!-- /mfunc -->
            }
    
    		/* Sidebar 1 on the right side? */
            if ( in_array( graphene_column_mode(), array( 'two_col_left', 'three_col_left', 'three_col_center' ) ) ){
                <!-- mfunc -->get_sidebar();<!-- /mfunc -->
            }

    For now, fragment caching doesn’t work with Disc Enhanced. Will have to use other cache engine inorder to use that.

    Frederick do you have any plans to support that in the future?

    Or do you know a work around? I don’t want to use Javascript and I want to use disk enhanced

    Is it possible to hire you for this? I will send in a support ticket

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: W3 Total Cache] Cache not working? According the debug’ is closed to new replies.