[resolved] Enabling Cache (4 posts)

  1. Guzzo
    Posted 9 years ago #

    I am considering enabling caching by adding the following line to my wp-config.php file:

    [ define('ENABLE_CACHE', true); ]

    If it speeds up my page loading, it would seem as though WordPress would have made this a default. So, there must be a problem with doing it. Before I do so, can anyone tell me what the consequences of this action would be?


  2. moshu
    Posted 9 years ago #

    The gurus say that doesn't really help.
    If you have a high traffic site you'd be better off to try the wp-cache PLUGIN - not that built-in gizmo :)

  3. davidchait
    Posted 9 years ago #

    wp-cache2 plugin does 'static page caching', which is most useful for the majority of high-volume sites.

    the internal 'object cache' mechanism you are asking about can also be thought of as a 'query cache' -- and thus, depending on your HD speed, and your speed of your MySQL server, and how much you have dedicated to query caching, you may find results vary a lot. Also, the very few folks running the internal cache are heavyweight gurus, using it with a memcached or equivalent backend replacement, so the caching never hits disk like the 'default implementation' does.

    In the end, for most users it shouldn't even be referenced in the docs... ;)


  4. Guzzo
    Posted 9 years ago #

    Just the info I wanted to hear.. scrap that plan.

    Thanks for sharing!

Topic Closed

This topic has been closed to new replies.

About this Topic