cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [HEADS UP] Cocoon CLI performance up 50%!
Date Fri, 28 Mar 2003 18:24:53 GMT


Sylvain Wallez wrote, On 28/03/2003 19.19:
> Nicola Ken Barozzi wrote:
...
>> To try the 'optimized' one, edit cli.xconf by changing 
>> confirm-extensions="true" to false. What does this entail? That all 
>> files without extensions are outputted as-is, without appending a 
>> proper extension. In sites that always use explicit extension, it 
>> makes no difference. 
> 
> 
> Can you explain what's the purpose of "confirm-extensions" ?

Example:

in the webapp:

   http://localhost:8080/cocoon/welcome

in CLI standard:

   docs/welcome.html

in optimized CLI:

   docs/welcome

It does not attempt to encode the Mime-type in the filename when 
extensions are not present. So if you don't have files without 
extensions, nothing changes. If you do, the browser does not get the 
mime-type (it's a file system), and usually does not display it as html.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message