ASP.NET - Store data at client side

Asked By avula on 31-May-13 03:35 AM
Hi Every one,

Please suggest me for achieving customer requirement.

I have huge data of datasets i.e "dsStudents" and "dsMarks".

i need to handle this dataset between pages, i dont want every time to pick from database. i have stored this data in
"VIEWSTATE" and also i have compressed "VIEWSTATE" , after compressing of "VIEWSTATE" page size comes 16MB to 3MB Size.

still my page very slow while loading..please suggest one good solution and what is the alternative if my dataset size increase in future.

thanks


Robbe Morris replied to avula on 31-May-13 10:53 AM
Cache it on the server in memory.  That's exactly what it is there for.  Putting x megabytes of encrypted strings in a page is the last thing you want to do.

https://www.nullskull.com/a/797/refreshing-aspnet--cached-data-on-a-timed-basis-to-avoid-delays.aspx
Bill B replied to avula on 18-Jun-13 01:10 AM
don't store it in viewstate

that's way too much

very bad idea...