all repos — wp-ffpc @ 24d81687eb32ce1a190d940bfa83fecf07a9b675

Merge pull request #7 from haroldkyle/cookies

Update configuration to avoid checking for URLs with query strings.
Peter Molnar hello@petermolnar.eu
Thu, 03 Apr 2014 15:55:33 +0100
commit

24d81687eb32ce1a190d940bfa83fecf07a9b675

parent

e06e6991be76bab3a7b7292d5c0f87d206e19923

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M wp-ffpc-nginx-sample.confwp-ffpc-nginx-sample.conf

@@ -93,6 +93,11 @@ if ( $uri ~ "/wp-" ) {

set $memcached_request 0; } + # avoid cache serve of any URL with query strings + if ( $args ) { + set $memcached_request 0; + } + LOGGEDIN_EXCEPTION COOKIES_EXCEPTION