WP Widget Cache
Not working? not in page source (2 posts)

  1. deanj31
    Posted 4 years ago #

    Just installed Wp widget cache and not sure that it is working. I've checked my source code and <!--WP Widget Cache End --> does not show up.

    I did add the code <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> to my footer as instructed on the FAQ page, but still nothing.

    Any suggestions?


  2. ssiddiqi1
    Posted 4 years ago #

    <!--WP Widget Cache End --> does not show if you are previewing and loged in to WP as admin. Logout and view the source, it shows.
    BTW. I was having WP Widget cache incompability problems with IE 8 and 9, which, I believe I fixed. Do not ask me much details, as I am not good PHP. I added followwing to widget-cache.php before any existing code:

    // Above Headers Sent By PHP.

    session_cache_limiter( 'nocache' );

    // Start Session.

    session_start( );

    // Override Headers.

    header( 'Cache-Control: no-cache, must-revalidate, post-check=3600, pre-check=3600' );

    Every thing is normal in IE9 and IE8.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic