• Hey guys,

    I normally just run WP sites (without pre-made HTML caching such as WordPress Fastest Cache offers) and not bother with HTML caching. But some sites have quite a lot of plugins and require .HTML caching.

    The problem is, is that I like to monitor everything with NewRelic, which has an PHP extension. By default, when .PHP scripts are run it automatically includes its code to gather data.

    But with WP-FC and pre-rendering .HTML the plugin completely ignores (from what I understand) doesn’t generate the .HTML files through php -q, or anything like that? Since those scripts are not included.

    NewRelic staff suggested to disable NewRelic PHP for these HTML catched websites and just manually enter their JS in every page, but then I loose statistics for things like E-Commerce or WP-Admin, which are not catched.

    Do you guys have any similar experiences? Maybe some other caching plugin would include NewRelic?

    Thanks.

Viewing 1 replies (of 1 total)
  • Tim Nash

    (@tnash)

    Spam hunter

    The new relic PHP options will only work with PHP being run at the time the client visits the site. You don’t need to disable it you can run it alongside the javascript beacon.

    In such a scenario you use the javascript beacon on your static assets (i.e the HTML pages) and the PHP extension will autmatically pick up bits in wp-admin or on pages with dynamic content that hit PHP.

Viewing 1 replies (of 1 total)
  • The topic ‘Cache plugins and PHP extension inclusion’ is closed to new replies.