W3 Total Cache
Can I use Cloudfront with this installation? (5 posts)

  1. sadhaka
    Posted 2 years ago #

    I notice with my new installation today that the message at the top says, "If an option is disabled it means that either your current installation is not compatible or software installation is required."

    I want to integrate Amazon CloudFront CDN, but I see that the "CDN" option is unchecked - does this mean (vis-a-vis the above message) that I can't install it, or is it just not checked by default for all new installations?



  2. sadhaka
    Posted 2 years ago #

    This applies to other options, too. After my installation of W3 Total Cache, I notice that these options are NOT enabled:

    • Minify
    • Database Cache
    • Object Cache
    • CDN
    • Varnish

    .. so I'm puzzled - does this mean they're not compatible, or that they just start off disabled by default?

    How can I tell if, say, Minify or Database cache is compatible with my installation?

  3. onerock
    Posted 2 years ago #

    Under the main "general" tab of W3TC at the top there is a button labeled "compatibility check." Click that and it will tell you what Server Modules & Resources are installed and what are required. It sounds like you have required dependencies not installed. You will have to install the missing ones if you manage your own server or contact your hosting company.

    I believe that all options are disabled by default.

  4. sadhaka
    Posted 2 years ago #

    Some options were in fact enabled by default, such as Page Cache and Browser cache.

    However, this is the (slightly redacted) output of the compatibility check - what options can I expect to enable with this environment? -

    Server Modules & Resources:
    Plugin Version:
    PHP Version: 5.2.17 (PHP5 required for Minify, Rackspace CloudFiles, Microsoft Azure support)
    Web Server: Apache
    FTP functions: Installed (required for Self-hosted (FTP) CDN support)
    Multibyte String support: Installed (required for Rackspace Cloud Files support)
    cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
    zlib extension: Installed (required for compression support)
    Opcode cache: Not installed
    Memcache extension: Not installed
    HTML Tidy extension: Not installed (required for HTML Tidy minifier suppport)
    Mime type detection: Installed (Fileinfo) (required for CDN support)
    Hash function: Installed (hash) (required for NetDNA purge support)
    Safe mode: Off
    Open basedir: Off
    zlib output compression: Off
    set_time_limit: Available
    mod_deflate: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_env: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_expires: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_headers: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_mime: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_rewrite: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    mod_setenvif: Not detected (required for Page Cache (enhanced mode) and Browser Cache)
    WordPress Resources
    /path/mysite.com/.htaccess: OK
    /path/mysite.com/wordpress/wp-content: OK
    /path/mysite.com/wordpress/wp-content/uploads/2012/09: OK
    Fancy permalinks: /%postname%/
    WP_CACHE define: Defined (true)
    URL rewrite: Enabled
    Network mode: No
  5. bheadrick
    Posted 2 years ago #

    The compatibility check usually fails to detect appropriate apache modules for shared hosting environments. You may need to check with your host to confirm what modules are available, but the mime, rewrite, and setenvif modules are required by wordpress to work properly anyway.

    In the text you quoted above "disabled" is as in you can't even check the checkbox, not just that the box isn't checked. You will probably have some options that aren't compatible with your hosting that are still available to be checked, though.

    To enable CDN, you first need to set which cdn you want to use on the general tab, save that, then configure the CDN settings on the CDN tab.

    I don't think there's any hosting configuration that would prevent you from being able to use a CDN, since most of the work is done on the CDN side, and the only thing that changes on your site is urls get pointed to the CDN distribution for files you're serving from your CDN, which doesn't require any special modules.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.