Search the Community
Showing results for tags 'www'.
Found 2 results
Hi ! I'm currently creating some kind of social networking app for mlobile. Everything is working fine except when loading something from the database (using WWW). When I load something from it I'm getting some kind of spike of CPU... The problem is that for this kind of app, I really need to load a lot from the database. Does anyone have any tips to optimize the way I could get infos from the database ? I'm currently doing something like this to get infos from the database : WWWForm theWWWForm = new WWWForm(); theWWWForm.AddField ("friend", friendName); theWWWForm.AddField ("me", myUsername); WWW data = new WWW (System.Uri.EscapeUriString("https://MyWebsite/FolderPath/ScriptToInteractWith.php"), theWWWForm); yield return data; Here's the profiler ScreenShot (for example when I load photos) :