I'm using NodeJs and Jquery for my site which allows users to log in and post text to their dashboard. The way this works is when the user hits the "/dashboard" route it sends all of the user's current posts to the html page, via templating.
Within the "/dashboard" the user can also post to "/dashing" and then I use ajax to render the lastest post. However, after posting 5 times the browser stops loading the content to the DOM. Upon further inspection in the Chrome Dev tools > Network it looks like after 5 posts the posts after that are all pending.
How can I fix this?
via Moe Chughtai
No comments:
Post a Comment