WordPress.org

Ready to get started?Download WordPress

Forums

excluding cached areas from wp-cache plugin (6 posts)

  1. blakekr
    Member
    Posted 8 years ago #

    Has anyone successfully done this? I rely on wp-cache to keep my site running at a reasonable speed, but I can't seem to exclude php scripts within the page to save my life; for example, the "democracy" plugin gets cached and stops working even when I surround it with the suggested exclusion tags.

    Any suggestions?

  2. Upgrade to WordPress 2.0 (if you haven't already), disable WP-Cache, and make sure /wp-content/cache/ has write access. 2.0 comes with caching of the WordPress content only built in. It's probably a little more server intensive as the point of the WP2 caching is to avoid DB querying rather than page generation, but it's worth a try for you.

  3. blakekr
    Member
    Posted 8 years ago #

    thanks, I appreciate it!

  4. davidchait
    Member
    Posted 8 years ago #

    WP2's caching is specific to certain data and tables, and does not have significant performance impacts. WP-Cache caches entire pages generated, and makes orders of magnitude impact on heavy sites.

    -d

  5. blakekr
    Member
    Posted 8 years ago #

    Hmm, it sounds like I'm not ready for that then as my site is loading relatively slowly already on its new VPS home.

    Thanks, David.

  6. davidchait
    Member
    Posted 8 years ago #

    There are folks around with experience tweaking VPS setups. You need to set the memory on SQL processes, max # of processes, etc. -- well out of my range of understanding!

    WP-Cache can make a SIGNIFICANT impact on a VPS setup, specifically because it makes the site "more static".

    Also using a bytecode compiler/cache if available is another way to speed things up.

    Lastly, you can use 'alternate servers', like thttpd/lighttpd, for delivering static content (images), or if properly tuned the entire site.

    -d

Topic Closed

This topic has been closed to new replies.

About this Topic