You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/02/27 03:57:18 UTC

[jira] Created: (FOR-821) an extra document is processed

an extra document is processed
------------------------------

         Key: FOR-821
         URL: http://issues.apache.org/jira/browse/FOR-821
     Project: Forrest
        Type: Bug
  Components: Dispatcher (aka views)  
    Versions: 0.8-dev    
    Reporter: David Crossley


The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.

The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Created: (FOR-821) an extra document is processed

Posted by David Crossley <cr...@apache.org>.
Thorsten Scherler wrote:
> David Crossley (JIRA) escribi??:
> > an extra document is processed
> > ------------------------------
> > 
> >          Key: FOR-821
> >          URL: http://issues.apache.org/jira/browse/FOR-821
> >      Project: Forrest
> >         Type: Bug
> >   Components: Dispatcher (aka views)  
> >     Versions: 0.8-dev    
> >     Reporter: David Crossley
> > 
> > 
> > The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> > 
> > The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.
>
> 
> BTW how did you found out?

I mentioned it when we recently used the Cocoon Profiler
on the new dispatcher. Tried quickly to find the email
but couldn't. Then yesterday i started using Mozilla
Extension "Live HTTP Headers" which shows it too.

-David

Re: [jira] Created: (FOR-821) an extra document is processed

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 03:57 +0100, David Crossley (JIRA) escribió:
> an extra document is processed
> ------------------------------
> 
>          Key: FOR-821
>          URL: http://issues.apache.org/jira/browse/FOR-821
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)  
>     Versions: 0.8-dev    
>     Reporter: David Crossley
> 
> 
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> 
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.
> 

BTW how did you found out?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


[jira] Updated: (FOR-821) an extra document is processed

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-821?page=all ]

Thorsten Scherler updated FOR-821:
----------------------------------

    Attachment: graphic-tamper.html

This is a graphical overview on the involved requests dispatched when requesting http://localhost:8888/index.html on the fresh-site. 

> an extra document is processed
> ------------------------------
>
>                 Key: FOR-821
>                 URL: http://issues.apache.org/jira/browse/FOR-821
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>         Attachments: graphic-tamper.html
>
>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Updated: (FOR-821) an extra document is processed with the siteinfo-meta-navigation contract

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
I think we should close it since we have nothing to do...
(As you say, it is a feature, the forrest site command should not be 
impacted in term of performance)

Salutations,
Cyriaque,

le 19/07/2006 13:58 Thorsten Scherler (JIRA) a écrit :
>      [ http://issues.apache.org/jira/browse/FOR-821?page=all ]
>
> Thorsten Scherler updated FOR-821:
> ----------------------------------
>
>      Summary: an extra document is processed with the siteinfo-meta-navigation contract  (was: an extra document is processed)
>     Priority: Trivial  (was: Major)
>
> I am not sure whether we should keep this issue open since it is not a bug but a feature.
>
>   
>> an extra document is processed with the siteinfo-meta-navigation contract
>> -------------------------------------------------------------------------
>>
>>                 Key: FOR-821
>>                 URL: http://issues.apache.org/jira/browse/FOR-821
>>             Project: Forrest
>>          Issue Type: Bug
>>          Components: Dispatcher (aka views)
>>    Affects Versions: 0.8-dev
>>            Reporter: David Crossley
>>            Priority: Trivial
>>         Attachments: graphic-tamper.html, tamper.xml
>>
>>
>> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
>> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.
>>     
>
>   

[jira] Updated: (FOR-821) an extra document is processed with the siteinfo-meta-navigation contract

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-821?page=all ]

Thorsten Scherler updated FOR-821:
----------------------------------

     Summary: an extra document is processed with the siteinfo-meta-navigation contract  (was: an extra document is processed)
    Priority: Trivial  (was: Major)

I am not sure whether we should keep this issue open since it is not a bug but a feature.

> an extra document is processed with the siteinfo-meta-navigation contract
> -------------------------------------------------------------------------
>
>                 Key: FOR-821
>                 URL: http://issues.apache.org/jira/browse/FOR-821
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>            Priority: Trivial
>         Attachments: graphic-tamper.html, tamper.xml
>
>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (FOR-821) an extra document is processed with the siteinfo-meta-navigation contract

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-821?page=all ]

Thorsten Scherler closed FOR-821.
---------------------------------

    Resolution: Fixed

Since no one objected, I am closing this issue.

> an extra document is processed with the siteinfo-meta-navigation contract
> -------------------------------------------------------------------------
>
>                 Key: FOR-821
>                 URL: http://issues.apache.org/jira/browse/FOR-821
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>            Priority: Trivial
>         Attachments: graphic-tamper.html, tamper.xml
>
>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-821) an extra document is processed

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-821?page=comments#action_12422099 ] 
            
Thorsten Scherler commented on FOR-821:
---------------------------------------

Like it can be seen on the the tamper.xml the request for the extra document <tdRequest uri="http://localhost:8888/samples/index.html"> is defined as 
<tdRequestHeader name="X-Moz">prefetch</tdRequestHeader>.

What this means is explained in http://www.w3.org/TR/1999/REC-html401-19991224/types.html#type-links:
"Next
    Refers to the next document in a linear sequence of documents. User agents may choose to preload the "next" document, to reduce the perceived load time."

This issue is directly and only related to the usage of the "siteinfo-meta-navigation" contract.

> an extra document is processed
> ------------------------------
>
>                 Key: FOR-821
>                 URL: http://issues.apache.org/jira/browse/FOR-821
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>         Attachments: graphic-tamper.html, tamper.xml
>
>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FOR-821) an extra document is processed

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-821?page=comments#action_12367882 ] 

David Crossley commented on FOR-821:
------------------------------------

This only happens with the "pelt" structurer, not the default structurer.

> an extra document is processed
> ------------------------------
>
>          Key: FOR-821
>          URL: http://issues.apache.org/jira/browse/FOR-821
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: David Crossley

>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (FOR-821) an extra document is processed

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/FOR-821?page=all ]

Thorsten Scherler updated FOR-821:
----------------------------------

    Attachment: tamper.xml

The xml export of all involved requests.

> an extra document is processed
> ------------------------------
>
>                 Key: FOR-821
>                 URL: http://issues.apache.org/jira/browse/FOR-821
>             Project: Forrest
>          Issue Type: Bug
>          Components: Dispatcher (aka views)
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>         Attachments: graphic-tamper.html, tamper.xml
>
>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commenté: (FOR-821) an extra document is processed

Posted by "Cyriaque Dupoirieux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-821?page=comments#action_12367915 ] 

Cyriaque Dupoirieux commented on FOR-821:
-----------------------------------------

Yes, I think the same and to be sure we can comment it.
But, what I don't understand is that other contracts includes links to other pages - nav-main, nav-section...


> an extra document is processed
> ------------------------------
>
>          Key: FOR-821
>          URL: http://issues.apache.org/jira/browse/FOR-821
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: David Crossley

>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (FOR-821) an extra document is processed

Posted by "Thorsten Scherler (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/FOR-821?page=comments#action_12367913 ] 

Thorsten Scherler commented on FOR-821:
---------------------------------------

I think it is because of:
<forrest:contract name="siteinfo-meta-navigation" 
      dataURI="cocoon://#{$getRequest}.navigation.xml"/>

Whcih adds links to next/prev document.

> an extra document is processed
> ------------------------------
>
>          Key: FOR-821
>          URL: http://issues.apache.org/jira/browse/FOR-821
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: David Crossley

>
> The Dispatcher seems to be processing an extra document along with every request. For example, with "site-author" requesting index.html also generates the license.html page. You only see index.html in the browser, but behind-the-scenes it has also processed another document. Another example, using the 'forrest seed-sample' when requesting index.html also generates the samples/sample.html page.
> The "extra" document seems to be the next entry (which has  a @label) in the site.xml linkmap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira