FRiCKLE / ngx_cache_purge

nginx module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches.
http://labs.frickle.com/nginx_ngx_cache_purge/
Other
1.06k stars 310 forks source link

improve selecting a response type #52

Closed torden closed 7 years ago

torden commented 7 years ago

I just added a "cache_purge_response_type" directive. it's user can selecting a response type in server or location blocks of config file. support response type are html,json,xml,text and as it maintains html response type is default.