petermolnar
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-FFPC] Regarding Compatibility1, I’ve never heard of wp-rocket. You need to ask this from wp-rocket author, since it was not me who put that message in there.
2, Please try to debug it. If you need my help, give me specific context, like which engine you’re running, turn on debug log, and see what the log says, and so on.
Forum: Reviews
In reply to: [DM Confirm Email] Does not work with WooCommerceSending login details and confirmation is two very different things. WP does not have this functionality out of the box.
The first does not prevent tonnes of fake regs.
Forum: Reviews
In reply to: [DM Confirm Email] Does not work with WooCommerceThe plugin does not mention compatibility with woocommerce, but according to your review, does exactly what it says, so your 2/5 rating is rather invalid.
Forum: Plugins
In reply to: [WP-FFPC] setup look ok, but no cachingwow, I wasn’t aware of that.
I’ll put that information in the known issues part.Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesset $memcached_request 1;
is the one that should be; I’ve turned it to 0 to specifically bypass the nginx-memcached setting. sorry for leaving it on 0 and finding it.Yes, if you see 222222, it should be served from nginx. If you want to deeper verify it, turn on the memcached debugging ( add -vvv for starting ) and check if only the ‘data-‘ keys are served. If ‘meta-‘ is served ( GET ), it’s still served from the cache, but with PHP. If you see ‘SET’, that entry is currently being written to the cache.
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesI’ve used object cache for a long time, but dropped it about a year ago, when it started to get too sticky, making my site acting weird.
I might apply it again, but strictly for microcaching ( 1-2s at max ), but in that case I’m not sure they’d add much. That is since WordPress has wp_cache_* functions, usually not utilized in themes. It’s not a persistent cache, only for the duration of the page generation; however, it can still give a kick. Before going for an object cache, maybe try this. ( And also set MySQL to do query caches. )
But to answer your question: if a site is served from cache with ffpc, then it will never even reach the object cache part.
Object cache will only kick in when the page is rendered with WordPress, not from cache.As for the first question: add something like
add_header X-Cache-Engine "the not you'd like to see";
to the nginx conf, to the part you’d want to identify.
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pages@thinstallsoft:
http://pastebin.com/VQDzA78KThis is not my entire nginx config, that is a bit too long and complex; this is all relevant to WordPress.
Forum: Plugins
In reply to: [WP-FFPC] setup look ok, but no cachingAre you visiting the site logged in?
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesI’m clueless.
fastcgi_split_path_info ^(?<script_name>.+?\.php)(?<path_info>.*)$;
and
location ~ ^(?<script_name>.+?\.php)(?<path_info>.*)$ {
are both from my live, nginx 1.9.5 setup of my website, working as expected.
I don’t know what happens in your setup.
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesnginx: [emerg] pcre_compile() failed: unrecognized character after (? or (?- in "^(?.+?\.php)(?.*)$" at ".+?\.php)(?.*)$"
You’ve mistyped something, this is not present in the file I’ve linked.
Check the raw version:
https://raw.githubusercontent.com/petermolnar/wp-ffpc/master/wp-ffpc-nginx-sample.confForum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesRight, I think I’ve figured it out.
Please use this a guideline:
https://github.com/petermolnar/wp-ffpc/blob/master/wp-ffpc-nginx-sample.confI’ll release it in 1.10.1 later.
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesI need a little time to solve this, at the moment, it beats me.
But I’m going to remove the nginx.conf generation and just point a reference to it as an example. I was never meant to be a copy-paste thing.
Forum: Plugins
In reply to: [WP-FFPC] 'Access denied' Error on /wp-admin/ and Blank Page on other pagesYou have loop. When the query fails reading the entry from memcached, you fall to nocache, where you never redirect to index.php
Since you’re not doing that, you fail on the
security.limit_extensions = .php .html
in the FPM config.Forum: Plugins
In reply to: [WP-FFPC] exclude categories/tagsHm.
I have this:
$sargs = array( 'hide_empty' => true, 'fields' => 'all', 'hierarchical' =>false, ); $terms = get_terms ( $taxonomy->name , $sargs );
so they should not have popped up at all.
Forum: Plugins
In reply to: [WP-FFPC] exclude categories/tagsHi postme,
I’ll check if there’s a relatively easy way to exclude these.
However, I higly recommend removing taxonomy that has no post associated as well.