emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience
https://www.dash-extensions.com/
MIT License
409 stars 57 forks source link

Serverside() versus ServersideOutput() #301

Open areed145 opened 7 months ago

areed145 commented 7 months ago

Does the new Serverside function memoize the output?

My recollection was that ServersideOutput used memoization, but this doesnt appear to be the case on the replacement.

emilhe commented 6 months ago

The ServersideOutput has the option to use memoizaton. The Serverside object doesn't have that (at least not yet). I am considering adding it for feature parity, but I haven't gotten around to it yet.

halvgaard commented 5 months ago

@emilhe Seems like the ServersideOutput has been removed now along with session_check and arg_check? Is the functionality replaced by EnrichedOutput and Serverside? Maybe you have a few examples about session_check and arg_check? I am having problems redis caching my callback variables after updating from 0.1.13 to latest version in order to enable multiple backend caching. It is not obvious how storage_type, memoize, arg_check and session_check should be set for a serverside variables to make caching work.