Question

Does anyone have any experience in using compression on their cached data? I understand that stackoverflow is internally using this method.

What are the pros and cons?

And are there any gotchyas?

Was it helpful?

Solution

Scott Hanselman just created a Session wrapper class that can zip items before putting them into your cache/session/whatever. You may want to take a look!

http://www.hanselman.com/blog/TheWeeklySourceCode35ZipCompressingASPNETSessionAndCacheState.aspx

OTHER TIPS

you should try memcached. It's a distributed caching server that is easy to use and provides impressive compression capabilities.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top