WordPress.org

Support

Support » Plugins and Hacks » [Resolved] W3 Total Cache optimizing pages outside of WordPress

[Resolved] W3 Total Cache optimizing pages outside of WordPress

  • I have W3 Total Cache installed in my WordPress environment. I also have a PHP script that serves up photo gallery pages outside of my WordPress environment. To support WordPress functionality on those non-Wordpress pages, I call wp-blog-header.php in the head of each page. Looking at the source code, I’m noticing that those pages are being optimized (but not entirely) by W3 Total Cache. One of the pages, for example:
    http://uncorneredmarket.com/photos/sets/page1/

    Is it possible/appropriate (and how?) to use W3 Total Cache on these pages to:
    1) Cache icons and static graphics/page elements and javascript? (Or, must I move all of this content into a directory inside the WordPress environment?)
    2) Serve these pieces of static content using a CDN?
    3) Manage the cache control/expire HTTP headers of these pages.

    I’d like to leverage W3 Total Cache, but not abuse/misuse it to the detriment of the WordPress side of my website.

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frederick Townes

    @fredericktownes

    If you have W3TC working properly, then there’s no reason that you can’t hard-code the paths used in your other app to use the CDN paths.

    Thanks for the suggestion, Frederick. I imagine you are swamped, so I appreciate your taking the time to respond.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] W3 Total Cache optimizing pages outside of WordPress’ is closed to new replies.