A.D.F. schreef:
> Stefan de Konink wrote:
>> Stefan de Konink schreef:
>>> I see you have implemented something :) I'll check it out :)
>> Set max-age         1, mime type 'application/xml'
>>
>> It seems it only works on one specific entry (so if two entries are
>> present it won't work). It is of course an early attempt, but diversity
>> in extention vs mimetype would be appreciated.
> 
> I guess some clarification is needed.
> 
> In cherokee configuration file (i.e. /usr/local/etc/cherokee/cherokee.conf)
> there should be ONLY ONE LINE specifying ONLY ONE mime file, i.e.:
> 
> server!mime_files = /usr/local/etc/cherokee/mime.types
> 
> NOTE: right now, the first time you install cherokee 0.6.0 trunk,
>       you should EDIT the mime.types file and INCLUDE the content
>       of mime.compression.types that can be found in the same directory
>       where the cherokee mime.types is placed.
> 
> In mime.types file you can use this syntax:
> 
> mime_type     [ .number ]     extension1[, extension2 ... ]
> 
> i.e.:
> 
> image/gif     .300    gif
> image/jpeg    .86400  jpeg, jpg, jpe
> image/png             png
> 
> Above settings mean:
>     - use a max_age value of 300 seconds (5 minutes) for gif files;
>     - use a max_age value of 86400 seconds (1 day) for jpeg files.
>     - do NOT use any max_age value for png files.
> 
> NOTE: it is likely that in next Cherokee release
>       (maybe 0.7, I am not sure yet),
>       above .number notation for max_age value will be removed
>       from mime.types file and moved to cherokee.conf file
>       in order to be handled by new administration interface.
> 
> 
> Please Stefan, may you resend this message to [email protected]
> because my ISP filters that address in order to not flood it with SPAM
> (I really hope this issue will be solved soon or later).


Done :)

I figured out the dot notation. But my 'issue' was that i want to have a
fast xml and a 'slow' xsl ;)

Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to