2012-07-25, 03:16:03
On the front end you call
getSettingsData for every setting
This calls getxml which fetches the file via get_file_contents
This happens 26 times, so you are reading a file 26 times per page request.
You should probably be loading the xml once into a global or something instead.
I also see multiple file loads of individual blog pages as well.
getSettingsData for every setting
This calls getxml which fetches the file via get_file_contents
This happens 26 times, so you are reading a file 26 times per page request.
You should probably be loading the xml once into a global or something instead.
I also see multiple file loads of individual blog pages as well.