[VL web] web cache / speeding up load times
Posted: Thu Dec 28, 2023 6:13 am
i've been working on a web project that has a lot of dynamic pick lists. and these are really slowing things down - load times for the page are terrible.
doing a performance capture, i've isolated things down to about a half dozen that are serious bottlenecks. i've figured out a way to speed things up that i don't like (using session storage and only calling the server module once - after that, the session storage is being used). but i'd like to use VL web's offline support features instead to cache the data locally in something other than session (or local) storage.
the documentation for it is pretty thin (read: nonexistent and/or non-informative). there was a smidgen of info in the february 2021 tech newsletter but it really didn't give me much of what i actually needed - a way to store (mostly static) data locally without having to resort to the existing session or local storage.
does anyone have any pointers on how to use the offline support that are more helpful?
doing a performance capture, i've isolated things down to about a half dozen that are serious bottlenecks. i've figured out a way to speed things up that i don't like (using session storage and only calling the server module once - after that, the session storage is being used). but i'd like to use VL web's offline support features instead to cache the data locally in something other than session (or local) storage.
the documentation for it is pretty thin (read: nonexistent and/or non-informative). there was a smidgen of info in the february 2021 tech newsletter but it really didn't give me much of what i actually needed - a way to store (mostly static) data locally without having to resort to the existing session or local storage.
does anyone have any pointers on how to use the offline support that are more helpful?