HI boys and girls.
There is some major optimazing feature I'd like to discuss on.
Im sitting here checking the system and there is a very big and noticeble problem flowing up the stream.
Im having alot of plugins in my mu-plugins directory,
and every time new page on the system loads it loads all the plugins files that are in this directory...
It overloads the system of the server and delays the time takes to compute the code.
And i just was thinking why not gather all the hooks in one file and make the function calls just include the whole plugins code from inner folder just when it needed. cuz the code will be included from outer file just when the hook is called it will cut down on the resorces the site uses and will make it faster... esspecialy when i use 15 or more plugins.
Another topic is post counting.
In my MU intall i have alot of user and authors.
If i want to show the number of posts one author has i have to count the DB for all the posts he sent.
multiply it by 1000 and you will get the number of sql searches and counts per visit.
not very server freindly at all does it?
well i was thinking about writing a plugin that will add a row to the users table that will count the posts users sent.
will be updated on post write or delete by increcing or decricing the number in that row.
and in first install it should count every posts count for every user.
kinda heavy for user loaded site.
so i think it will only be an option in new installed sites with small number of users.