Welcome! Log In Create A New Profile

Advanced

How to force CGI cache purge on POST?

Ed W
February 18, 2015 12:22PM
Hi, I have a very simple website which could benefit from enabling cgi
caching. However, occasional updates are made to the site, exclusively
via a POST request.

For my simple purposes it would be sufficient to expire the entire cache
on any POST request (few hundred pages cached). How might I trigger
this to happen without modifying the backend CGI? ie is it possible to
make an nginx location which can trigger fastcgi_cache_purge on any POST
request?

Thanks for any thoughts

Ed W

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

How to force CGI cache purge on POST?

Ed W February 18, 2015 12:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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