I have been thinking what could be the fastest way to show base64/img data to the user, i could generate the data when the user is registered and then store it to database, or generate it every time it is requested.
this is something i am thinking to make the response fast and i could just generate the img data in client. which many elements will have them generated, but i don't know if this could make the loading data take longer time.
So, is it better to store base64/img generated data on database?.. if not then who should generate them.. client or server?
update: To be more clear on the question, the generated data is Identicon
, my concern is what would be the fastest way to show it to user, this could be shown once or multiple times in a single view regardless the power on server