WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
[resolved] Newbie WP Super-Cache set up advice re dynamic content (4 posts)

  1. Chunksters
    Member
    Posted 2 years ago #

    Apologies if this is basic but am a newbie to this and I am not very techical. After getting my account suspended due to too much CPU usage, I installed WP Super-Cache. My 2 questions are:

    1. Ebay links: I used the preload feature choosing the “Use PHP to serve cache files option” (not mod_rewrite) as I thought this was better for dynamic parts of my site. The refresh preload cache files is set at 2880mins. Am I correct in understanding that my ebay links will be dynamic?

    I did look at the advice given on how to make a page stay dynamic but I am afriad it was too technical for me.

    2. Does refreshing preload pages impact servers resources at all? Is my host likely to complain about this too?

    Many thanks for your patience.....

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    1. No, check the readme.txt for docs on how to do dynamic sections. Sorry, it is technical.

    2. Yes, it does but it only loads one page at a time so it's not that heavy. If your host complains about that then either your host isn't that good or your site is using some broken plugin.

  3. Chunksters
    Member
    Posted 2 years ago #

    Hi again, I have now looked at the readme.txt to see how to keep the ebay parts of my page dynamic. I understand that I can use the "dynamic cached content" function/code. Where do I need to put this code in? The function I am looking at keeping dynamic is phpBay where listings will be shown on every post. Do I do this within htcaccess file or where? Apologies if this is really obvious but I don't know where to put this code in, or indeed what else to include in the code apart from the above.
    Thanks for bearing with me......

  4. chadrew
    Member
    Posted 2 years ago #

    You have to find where this phpBay code is inserted in your theme and use mfunc kind of like this:

    <!--mfunc YOUR_PHP_CODE -->
    <?php YOUR_PHP_CODE_AGAIN ?>
    <!--/mfunc-->

    I'm trying this myself - I wonder if it's a big performance hit switching from mod_rewrite to PHP caching with dynamic page elements?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic