Welcome! Log In Create A New Profile

Advanced

Re: uwsgi_cache only caching root location

Francis Daly
August 15, 2015 05:24PM
On Sat, Aug 15, 2015 at 02:50:13PM -0400, daveyfx wrote:

Hi there,

> I'm having an issue where nginx is only caching homepage requests. If i
> send requests to my server, the HTML at the homepage is saved, but requests
> to any URI otherwise do not save in the cache and upstream_cache_status
> returns with a MISS.
>
> How can I fix my config so that requests other than / will cache properly?

http://nginx.org/r/uwsgi_cache_valid

What in the full response from the uwsgi server for the homepage
request? What is the full response for one other request?

"tcpdump" or otherwise snoop the traffic between nginx and uwsgi. Or
perhaps check the nginx debug log.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

uwsgi_cache only caching root location

daveyfx August 15, 2015 02:50PM

Re: uwsgi_cache only caching root location

Francis Daly August 15, 2015 05:24PM

Re: uwsgi_cache only caching root location

daveyfx August 15, 2015 07:22PM

Re: uwsgi_cache only caching root location

daveyfx August 15, 2015 09:16PM

Re: uwsgi_cache only caching root location

daveyfx August 16, 2015 01:16AM

Re: uwsgi_cache only caching root location

Francis Daly August 16, 2015 02:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
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