util_memoize_seed (public)

 util_memoize_seed script value [ max_age ]

Defined in packages/acs-tcl/tcl/memoize-procs-naviserver.tcl

Pretend util_memoize was called with script and it returned value. Cache value, replacing any previous cache entry for script.

If clustering is enabled, this command flushes script's value from the caches on all servers in the cluster before storing the new value. The new value is only stored in the local cache.

Parameters:
script (required)
A Tcl script that presumably would return value.
value (required)
The value to cache for script.
max_age (optional)
Not used.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: