В 13:20 -0800 на 04.02.2009 (ср), J. Shirley написа:

> It's hideously slow.  It took 16 seconds to load, and most of that was
> the first byte.

I do agree. But that is because of the statics. I did some changes to
my .htaccess to serve the static directly from the webserver and now it
loads for 5 seconds to me. Here are the changes:

RewriteCond %{REQUEST_URI} !^/?(cgi-bin/test.cgi|static|root)
RewriteRule ^(.*)$ /cgi-bin/test.cgi/$1 [PT,L]

RewriteRule ^/?static/(.*)$ /root/static/$1 [PT,L]
RewriteRule ^/?root/(lib|src).*$ /404 [PT,L]

That is not the best decision, but I thins now is fast enough.


_______________________________________________
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