From ecd4b9bc369d7624472bd900981d58842f874bcf Mon Sep 17 00:00:00 2001 From: Unbit Date: Thu, 7 Feb 2013 16:15:26 +0100 Subject: [PATCH] added notes for the new caching plugin --- plugins/cache/cache.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/plugins/cache/cache.c b/plugins/cache/cache.c index 9a8f48b4..f074806c 100644 --- a/plugins/cache/cache.c +++ b/plugins/cache/cache.c @@ -1,4 +1,18 @@ -#include "../../uwsgi.h" +#include + +/* + + Plugin for remote access to the uWSGI cache + + For request generating a response containing cache data, we need to make + a copy to avoid holding the lock too much in case of blocking/slow writes + + uwsgi_cache_safe_get2() will do the job + + the modifier2 is the command to run. Some command is extremely raw, and generally it is mean + for internal uWSGI usage. + +*/ extern struct uwsgi_server uwsgi;