Welcome! Log In Create A New Profile

Advanced

Re: Reverse cache not working on start pages

October 04, 2017 11:58AM
I found it useful to define a dropCache location that will delete the cache on request. I did this with a shell script that I invoked with lua (via openresty) but I imagine there are multiple ways to do this.

Sent from my iPhone

> On Oct 4, 2017, at 11:39 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
> Hello!
>
>> On Wed, Oct 04, 2017 at 06:01:35AM -0400, Dingo wrote:
>>
>> Another update:
>>
>> I finally deleted /data/nginx/cache/*, and now everything seems to be
>> working. It looks like Nginx don't bother about what cache timeout I use. If
>> it is 1 day, as in the example from nginx.org, everything that was cached at
>> that time will be remembered for 1 day. I have no clue why my startpages was
>> not working, but they are now that I deleted the cache.
>
> Cache validity time is determened when loading a response from the
> backend based on the response headers and the configuration active
> at that time. Any futher changes to the configuration have no
> effect.
>
> So what you did is basically correct: if you are making major
> changes to your caching configuration, you may need to clear the
> cache manually.
>
> --
> Maxim Dounin
> http://nginx.org/
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Reverse cache not working on start pages

Dingo October 04, 2017 04:32AM

Re: Reverse cache not working on start pages

Dingo October 04, 2017 05:42AM

Re: Reverse cache not working on start pages

Dingo October 04, 2017 06:01AM

Re: Reverse cache not working on start pages

Maxim Dounin October 04, 2017 11:40AM

Re: Reverse cache not working on start pages

pbooth October 04, 2017 11:58AM

Re: Reverse cache not working on start pages

Dingo October 12, 2017 04:45AM

Re: Reverse cache not working on start pages

Dingo October 12, 2017 04:44AM

Re: Reverse cache not working on start pages (solution founD)

Dingo October 12, 2017 04:52AM

Re: Reverse cache not working on start pages (solution founD)

pbooth October 12, 2017 05:34AM

Re: Reverse cache not working on start pages (solution founD)

Dingo October 12, 2017 07:26AM

Re: Reverse cache not working on start pages (solution founD)

Lucas Rolff October 12, 2017 07:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 215
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready