what do you mean with “Does not work properly” ?
Correct me – if I’m wrong:
Since the plugin cannot integrate with mod_rewrite – it does nothing to skip the PHP overhead of loading WP core, themes and plugins.
This is – by far – the biggest part that slows down server response time. As a result the plugin does nearly nothing for the Time To First Byte (TTFB) metric measured by Google. It helps only with things that happen afterwards – speed-up display of pre-compiled template files, send minified HTML, CSS, JS, images.
If you wish I can provide you with samples of websites where I installed the plugin – and the method I measure my TTFB.
if cache is not served via mod_rewrite, it is served via PHP and it causes slowness. No plugin is able to update the config file of Nginx.
I get that. Now the question is:
Can the plugin provide some sort of instructions – what to do with Nginx – specifically, what to paste into Nginx config file?
Or is it simply impossible to skip PHP overhead with Nginx? Meaning that either 1. the website will have to be slower or 2. I have to switch to Apache?
Switching to Apache would be a much better choice.
@marekrostcz Just put this in your wp config and all good.
define(“WPFC_SERVE_ONLY_VIA_CACHE”, true);
This will make FC to use PHP. mod_rewrite is only in theory faster than php mode. Also mod_rewrite makes most-if-not-all firewalls plugins to not work right, since mod_rewrite has the highest priority. And firewalls work AFTER the cached pages are served. For example Wordfence and caching with mod_rewrite, the Rate Limit feature doesn’t work at all.
I hope i helped.