currently i am developing an application just like blog post(which means a register user can post data that may contain text and images only) for this i am using angularjs 1.x as frontend and laravel 5 as backend and for every request it calls an API which is also developed in laravel 5.
Example: My application home page will show latest 20 posts with titles and some description see below image
when a user clicked on home page by using anularjs routes i am calling this template and related controller and in that controller by using $http service i am calling a related request to my backed (laravel) from which again a request is calling to my API and getting response and this response is throwing to my angularjs controller. I am doing the same process for all requests in my application. Now the problem is angularjs taking time to display the data. How can i reduce this time delay.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire