• hello,

    I am not updating wordpress site and I have not allowed user to comment. So my site is almost static.

    How I can get maximum benefit of wp-super-cache ? what expiration time I should set, so that maximum site will get deliver from cache ?

    please help…

Viewing 8 replies - 1 through 8 (of 8 total)
  • Follow the recommended settings in the readme.txt/documentation and use a long cache expiry (where long is as long as you like, I use 2 days)

    Thread Starter mrugesh78

    (@mrugesh78)

    thank you. I put expiry time to 10 days. Is it ok ?

    Perfectly fine but you might run into filesystem limitations if you have many thousands of cache files. For example, ext2 has problems with over 32,000 directories in one directory.

    Thread Starter mrugesh78

    (@mrugesh78)

    oh !

    that is the limitation of plug-in or wordpress ?

    Bcos I have VPS (centOS operating system) and I have lot free space to save cache pages.

    No, that’s a limitation of your operating system unfortunately. It might not even affect you though. If you use a date in your URL you should be ok.

    Thread Starter mrugesh78

    (@mrugesh78)

    hey !

    sorry, I got one more problem with wp-super-cache.

    I am using wp-paginate plugin. I made siteindex.php template and published one page with following code :

    <ul>
    <?php
    $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query('showposts=30'.'&paged='.$paged);
    ?>
    <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
    	<li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> (<?php
    $category = get_the_category();
    echo $category[0]->cat_name;
    ?>)</li>
    <?php endwhile; ?>
    </ul>
    <div class="navigation" align="center">
    <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?>
    </div>
    <?php $wp_query = null; $wp_query = $temp;?>

    but when I click second, third, fourth page, it is delivering me same content.

    it is not happing in category and archive pages. they are working fine. the only above code is not working with wp-super-cache.

    This has nothing to do with Supercache I think. There’s an error in your PHP code. The variable $paged isn’t defined so it’ll always pick up the first page.

    Thread Starter mrugesh78

    (@mrugesh78)

    yes you are right. it was in problem because I have made it as static page. thank you very much for your great help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP Super Cache] how I can deliver site maximum from cache ?’ is closed to new replies.