Hallo,
I've got a problem:
My code size is ca. 70kB big. I submit the fck-editor value to a php script which saves the whole code into a database.
The process takes ca. 7-10 seconds. It's too much! What can I do???
I've got a problem:
My code size is ca. 70kB big. I submit the fck-editor value to a php script which saves the whole code into a database.
The process takes ca. 7-10 seconds. It's too much! What can I do???
Re: FCK Code is too big
Hello,
I don't think that 70kbB is big, it shouldn't be the cause of any troubles... unless you have very slow connection between your www server and database server.
You can try to add microtime() calls just before and after each SQL statement to check if inserting data takes 7 seconds or is it something different.
You can also use Xdebug to find bottleneck in your application.
If you're using MySQL, maybe you'll find more information in documentation: http://dev.mysql.com/doc/refman/5.0/en/ ... speed.html
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+