Skip to content
Snippets Groups Projects
  • rswindell's avatar
    b3d8c8f7
    Big performance/design improvement: user data is cached in the user object's · b3d8c8f7
    rswindell authored
    "private storage", reducing (by a large factor) the number of unnecessary calls
    to getuserdat() - which opens/seeks/locks/reads/closes the user data base.
    Created User.cached property to reflect the current cached state (true/false)
    and allow external manipulation if necessary.
    This should have a profound performance improvement on web/ssjs scripts,
    especially the userlist.ssjs.
    b3d8c8f7
    History
    Big performance/design improvement: user data is cached in the user object's
    rswindell authored
    "private storage", reducing (by a large factor) the number of unnecessary calls
    to getuserdat() - which opens/seeks/locks/reads/closes the user data base.
    Created User.cached property to reflect the current cached state (true/false)
    and allow external manipulation if necessary.
    This should have a profound performance improvement on web/ssjs scripts,
    especially the userlist.ssjs.