WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] W3 Total Cache optimizing pages outside of WordPress (3 posts)

  1. dannoll
    Member
    Posted 2 years ago #

    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/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. dannoll
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic