Application running very slow |
[eluser]Rubiz'[/eluser]
Hello guys! I developed a CodeIgniter solution, this is the URL http://baetaminhoto.com.br/, and it's running OK, but very slow. In this application I'm using database queries and SimplePie class to load news from several feeds. I'm also using swf objects to display iTunes podcasts. These news loads in all pages like an include. I wanna know why the application is running so slow... any suggestion? It's because of SimplePie object? SWF objects? Thank you.
[eluser]tomcode[/eluser]
Guess it's the feeds, apparently You're waiting to send the page until You've fetched them all. I'd show the page without feeds (using placeholders) and load the feeds into the placeholders from the page via ajax
[eluser]Rubiz'[/eluser]
Well, maybe SimplePie has any method who fetch results a better way to process faster? Anyone knows about it?
[eluser]InsiteFX[/eluser]
You can also turn on the CodeIgniter Profiler to what is going on! InsiteFX
[eluser]Rubiz'[/eluser]
Georgi Budinov, thank you, and all who replied, it was a cache problem. I had to enable cache, make a root dir called "cache" and set 777 permission to that. Thank you. |
Welcome Guest, Not a member yet? Register Sign In |