episerver / DeveloperTools

EXPERIMENTAL project to build small tools useful for developers of EPiServer CMS
Apache License 2.0
45 stars 15 forks source link

Local object cache viewer #36

Closed valdisiljuconoks closed 5 years ago

valdisiljuconoks commented 5 years ago

added version of Joe's local object cache viewer to dev tools

valdisiljuconoks commented 5 years ago

will add object expiration date column, but internals of System.Web.Caching.Cache have changed. So I need to dig a bit deeper there. They do not expose "nice"readable model to outside anymore.

valdisiljuconoks commented 5 years ago

CC @joemayberry

bjuris commented 5 years ago

Server side paging would be required for sites that can have many million items in the cache. Also serializing something in the cache might affects its state (like triggering lazy loading) so not a big fan of that.

valdisiljuconoks commented 5 years ago

agree, we could provide it as op-in. admin selectively can ask for object size with awareness that it might trigger side effects

bjuris commented 5 years ago

That makes sense.

valdisiljuconoks commented 5 years ago

Added "View Object Size" as optional action. Regarding serverside list rendering and other beauties - think I'll need to unify all lists/tables and think about some nice interactive table implementation. Will do that in other PR.