Could it be your browser attempting to pre-fetch content?



On Mar 6, 2012, at 9:38 AM, Martin Gillmaier wrote:

> Hello to All!
> 
> First, I am a perl-programmer and I am about to accomplish my first 
> catalyst-project.
> Catalyst is really nice and flexible, and I am happy to get used to it.
> However, I kindly like you ask you about an issue, that I just can't 
> understand and that is driving me mad:
> 
> I view the debug output in the terminal/bash:
> $> script/expert_server.pl -r
> 
> And each time I do a request to the browser, I see an output like this in my 
> bash: 
> 
> [info] *** Request 14 (0.560/s) [1678] [Tue Mar  6 15:12:59 2012] ***
> [debug] Found sessionid "6f332e165af682b03622e1b74318d5a646e69a22" in cookie
> [debug] Restored session "6f332e165af682b03622e1b74318d5a646e69a22"
> [debug] "GET" request for "person/login" from "192.168.56.1"
> [debug] Path is "person/login"
> [debug] Rendering template "person/login.tt"
> [debug] Found sessionid "6f332e165af682b03622e1b74318d5a646e69a22" in cookie
> [debug] Restored session "6f332e165af682b03622e1b74318d5a646e69a22"
> [debug] Response Code: 200; Content-Type: text/html; charset=utf-8; 
> Content-Length: 7723
> [info] Request took 0.077044s (12.980/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> | /auto                                                      | 0.003336s |
> | /person/auto                                               | 0.002680s |
> | /person/login                                              | 0.000187s |
> | /end                                                       | 0.006762s |
> |  -> expert::View::HTML->process                            | 0.005926s |
> '------------------------------------------------------------+-----------'
> 
> [info] *** Request 15 (0.600/s) [1678] [Tue Mar  6 15:12:59 2012] ***
> [debug] Found sessionid "6f332e165af682b03622e1b74318d5a646e69a22" in cookie
> [debug] Restored session "6f332e165af682b03622e1b74318d5a646e69a22"
> [debug] "GET" request for "person/login" from "192.168.56.1"
> [debug] Path is "person/login"
> [debug] Rendering template "person/login.tt"
> [debug] Found sessionid "6f332e165af682b03622e1b74318d5a646e69a22" in cookie
> [debug] Restored session "6f332e165af682b03622e1b74318d5a646e69a22"
> [debug] Response Code: 200; Content-Type: text/html; charset=utf-8; 
> Content-Length: 7723
> [info] Request took 0.026152s (38.238/s)
> .------------------------------------------------------------+-----------.
> | Action                                                     | Time      |
> +------------------------------------------------------------+-----------+
> | /auto                                                      | 0.002289s |
> | /person/auto                                               | 0.001404s |
> | /person/login                                              | 0.000108s |
> | /end                                                       | 0.004584s |
> |  -> expert::View::HTML->process                            | 0.003944s |
> '------------------------------------------------------------+-----------'
> 
> So I have the same rendering process twice. Always and everywhere. Even the 
> install on the production-server (fastcgi) has the same problem.
> This leads to several problems, as you will know. Can you tell me where to 
> search for that issue or do you have an idea what the     problem might be?
> 
> Regards,
> Martin 
> 
> _______________________________________________
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

Francisco Obispo 
email: fobi...@isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to