Hi all, my cakephp install is running very slow at the moment, at most
i'm getting about 1.5req/sec (reported by ab)...
Anyway i'm doing a bit of testing as to why this may be, it seems that
even just a plain and simple php file with hello world is only giving
me about 7req/sec.
Trying a few things I commented out the following mod_rewrite lines
from my .htaccess:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
Now that same test.php file is getting 440req/sec, more like it!
I have tried moving the .htaccess stuff to the httpd.conf file, and
same results, with the rules enabled its slow as hell, without, it
runs fine.
What i'm wondering, is perhaps there is a better rule to use than the
above - match anything that doesn't exist, what are your experiences
with this, and what do you use for your mod_rewrite?
Or can this stuff be moved to routing rules within routes.php? I'm
running 1.13 btw, and don't plan to upgrade to 1.2 until it's labeled
as "stable".
I plan to be doing a few more performance tweaks, will also try
eaccelerator and post up my results.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---