[Catalyst] Re: Hello, Deployment of Catalyst apps in a shared web hosting account without shell

Anton Katsarov tony at katsarov.org
Thu Feb 5 16:09:58 GMT 2009


В 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.




More information about the Catalyst mailing list