Welcome! Log In Create A New Profile

Advanced

Disable open_file_cache for a specific location

July 02, 2013 05:24PM
I have set the open_file_cache variable to max=5000 inactive=20s so that it is enabled globally but now I want to disable all caching for a specific virtual location on a domain:

- open_file_cache max=5000 inactive=20s;
-- location ^~ /gallery {
open_file_cache off;
}

Sadly that rule doesn't work because /gallery doesn't exist as a real folder. It is only a permalink (/%category%/%postname%/) from WordPress. All subpages (like www.domain.tld/gallery/flickr) should have no cache enabled because the plugin for those galleries doesn't work with caching.
How can I solve the problem?
Thanks in advance.
Subject Author Posted

Disable open_file_cache for a specific location

Peleke July 02, 2013 05:24PM

Re: Disable open_file_cache for a specific location

Francis Daly July 02, 2013 05:44PM

Re: Disable open_file_cache for a specific location

Peleke July 02, 2013 05:56PM

Re: Disable open_file_cache for a specific location

Francis Daly July 03, 2013 03:56AM

Re: Disable open_file_cache for a specific location

Peleke July 03, 2013 08:00AM

Re: Disable open_file_cache for a specific location

Francis Daly July 03, 2013 06:18PM

Re: Disable open_file_cache for a specific location

Peleke July 04, 2013 03:16AM

Re: Disable open_file_cache for a specific location

Jonathan Matthews July 04, 2013 08:32AM

Re: Disable open_file_cache for a specific location

Peleke July 05, 2013 03:24AM

Re: Disable open_file_cache for a specific location

Peleke July 07, 2013 04:27PM

Re: Disable open_file_cache for a specific location

Francis Daly July 08, 2013 01:10PM

Re: Disable open_file_cache for a specific location

Peleke July 08, 2013 03:42PM

Re: Disable open_file_cache for a specific location

Francis Daly July 08, 2013 06:06PM

Re: Disable open_file_cache for a specific location

Peleke July 09, 2013 03:34AM

Re: Disable open_file_cache for a specific location

Francis Daly July 10, 2013 05:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 49
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready