You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish I had the ability to fix this for you, but unforunately I'm not that proficient with Javascript.
Problem: It seems like line 82 in index.phtml (which is responisible for dealing with clicks on tags) is causing the click function to be called multiple times. This is fine if the user only select one tag, but it gets worse when he selects tags multiple times.
If added "alert('tag onclick')" to like 85. If a user already selected 4 tags, a 5th click will cause the onclick function to be called 5 times for the single click from the user. This will cause a lot of load on your server as the /filter route is called multiple times for every 1 click from the user. It gets progressively worse the more times a user clicks tags.
You can also confirm this by looking at the "Network" tab in Crome/Firefox's development window.
Just thought I'd give you the heads up
Thank you for the great Phalcon framework!
The text was updated successfully, but these errors were encountered:
Hi Guys
I wish I had the ability to fix this for you, but unforunately I'm not that proficient with Javascript.
Problem: It seems like line 82 in index.phtml (which is responisible for dealing with clicks on tags) is causing the click function to be called multiple times. This is fine if the user only select one tag, but it gets worse when he selects tags multiple times.
If added "alert('tag onclick')" to like 85. If a user already selected 4 tags, a 5th click will cause the onclick function to be called 5 times for the single click from the user. This will cause a lot of load on your server as the /filter route is called multiple times for every 1 click from the user. It gets progressively worse the more times a user clicks tags.
You can also confirm this by looking at the "Network" tab in Crome/Firefox's development window.
Just thought I'd give you the heads up
Thank you for the great Phalcon framework!
The text was updated successfully, but these errors were encountered: