how to cache specific files on Desktop UI?

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

how to cache specific files on Desktop UI?

Post by tmalone »

3.16 latest patch

I have a case in which we need to lookup information from a file on the clients. How can I ensure that a file is always cached at the client?

Todd Malone

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: how to cache specific files on Desktop UI?

Post by kilianvp »


gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: how to cache specific files on Desktop UI?

Post by gschijndel »

Just use getPath as documented under Restrictions to make sure the file is available on the client.

However if the file changes ofter than the cache timeout and you need the latest version can use netGet instead.

The autoUpdateDir config entry increases the time needed to start the client, so it is better to list the files with getFileNamesRemote and download only the needed files on demand.

3 posts • Page 1 of 1