WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: W3 Total Cache] How can i exclude some code from being cached? (6 posts)

  1. juanjosezg
    Member
    Posted 4 years ago #

    i want to exclude some part of code from my wp theme

    for example:

    </head>

    <!-- begin no cache-->
    <?php include_once(ABSPATH . 'wp-content/themes/mytheme/head.php'); ?>
    <!-- end no cache-->

  2. Frederick Townes
    Member
    Posted 4 years ago #

    This feature is coming in the next release. For now there's no way to do this.

  3. fruitllama
    Member
    Posted 4 years ago #

    Hi there.

    Any idea when this will be implemented? Even just a rough timeline works too.

    We won't hold it against you if it slips. :)

  4. Frederick Townes
    Member
    Posted 4 years ago #

    Well it's schedule for v0.9, but may be released earlier. The implementation would be similar to WP Super Cache's in the first iteration likely. Which means that you would use mfunc and make a function call.

  5. juanjosezg
    Member
    Posted 3 years ago #

    Its now available?? how can i exclude the code?

  6. Frederick Townes
    Member
    Posted 3 years ago #

    Yes, please check the plugins FAQ.

Topic Closed

This topic has been closed to new replies.

About this Topic