W3 Total Cache
[resolved] W3TC - mclude-based PHP with Memcached Page Cache (2 posts)

  1. oxfordian3
    Posted 3 years ago #

    We use the latest version of W3TC, and have had the Page Cache enabled, with the Disk Enhanced method.

    In our templates we use the mclude to execute some PHP on otherwise-cached pages:

    <!-- mclude PATH-TO-PHP-FILE --><!-- /mclude -->

    That has been working well for us.

    We recently updated the Page Cache method to use Memcached setting rather than Disk Enhanced.

    It seems that the mclude-based PHP no longer executes on cached pages. Is that to be expected with Memcached-based Page Cache? Can we make any adjustments to continue executing our mclude-based code?


  2. Frederick Townes
    Plugin Author

    Posted 3 years ago #

    Using mclude with Disc Enhanced causes the pages to never be cached. There are no known issues with memcached and mclude. Could perhaps be a Browser Cache related behavior? That is the page is cached in browser therefore it looks like its not working.

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