need some help in serving static files inside a wsgi apps

Diez B. Roggisch deets at nospam.web.de
Sun May 25 09:26:16 EDT 2008


Matthew Woodcraft schrieb:
> Diez B. Roggisch <deets at nospam.web.de> wrote:
>> Sebastian 'lunar' Wiesner schrieb:
>>> I guess, Apache does some kind of memory caching for files, which are often
>>> requested and small enough to fit into the system memory.  May be, that's
>>> what the OP is referring to ...
> 
>> I'm not aware of that, and I even more seriously doubt it. Because 
>> caching is a complicated, domain-dependend subject that would 
>> *immediately* cry for configuration - e.g. caching strategies and such.
> 
> This is available in current apache with mod_file_cache (for an
> explicitly configured list of files). I think the circumstances where
> you'd want to use it are quite rare.

As I said - explicit configuration is needed. And of course apache & 
it's module system are flexible enough to allow caching as add-on. But 
Sebastian speculated about some behind the scenes automatic caching. 
Which apparently isn't there.

Diez



More information about the Python-list mailing list