Hi,
Yes, we could do that, but we wanted the edit option to not have any lags due to slow response from server.
If we query from the database, the user will see a blank screen in the edit form for almost 1 second which we wanted to avoid.
But, after giving your reply a thought, we thought of this:
To edit a post, a user needs two clicks, that is first click the "three dots" at the top right of a post, then click on edit link.
So, what we can do is, on the first click, prefetch the post content from database.
What do you think about this ?
Hi,
Yes, we could do that, but we wanted the edit option to not have any lags due to slow response from server.
If we query from the database, the user will see a blank screen in the edit form for almost 1 second which we wanted to avoid.
But, after giving your reply a thought, we thought of this:
To edit a post, a user needs two clicks, that is first click the "three dots" at the top right of a post, then click on edit link.
So, what we can do is, on the first click, prefetch the post content from database.
What do you think about this ?