-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local object cache viewer #36
Conversation
will add object expiration date column, but internals of |
CC @joemayberry |
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. |
agree, we could provide it as op-in. admin selectively can ask for object size with awareness that it might trigger side effects |
That makes sense. |
Added "View Object Size" as optional action. |
} | ||
|
||
private IEnumerable<LocalObjectCacheItem> ConvertToListItem(IEnumerable<DictionaryEntry> cachedEntries, bool viewObjectSize) => | ||
cachedEntries.Select(e => new LocalObjectCacheItem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just adding a Take(10,000) here would protect against issues with really large caches until server side paging is in place. This code otherwise have the potential of running a server out of memory.
…ns with HUGE cache sizes
added version of Joe's local object cache viewer to dev tools