friendica/friendica — pull request #316 by annando (2012-05-29 14:38:59+00:00)
Title: Speed improvements

In this pull request I did some speed improvements to friendica.

htconfig.php:
I added a new option - disabled by default - that the MySQL fulltext search feature can be used.

include/api.php, mod/network.php, mod/search.php:
There I changed the previous searches via "regexp" to an optional search with the "match"-command.

This speeds up the system dramatically.

include/config.php, view/theme/diabook/theme.php
I added the functionality for a negative caching when a family of settings is preloaded and there is no setting in this family at the system. I also added two lines for preloading in the diabook theme.

include/dba.php:
You can ignore the changes. In order to do the SQL improvements I had to log the statements. The logging is disabled again and was only activated during the test phase.