yuuvis® RAD Q&A

0 votes
by (600 points)

Dear all,

is it possible to allow cache control in DMS/Core Service (espacially for Content)?

https://developer.mozilla.org/de/docs/Web/HTTP/Headers/Cache-Control

If so, where can i configure this...?

Many Thx in advance
Rgds
Martin

1 Answer

0 votes
by (15.7k points)
selected by
 
Best answer

Hello Martin,

every addition or update of a content file causes a new dms-object version to be created. When querying the content of a dms-object via REST API or the client, the newest version of this object is always used - unless corresponding parameters are set. So there really is no need for Cache-Control.

Best regards
Nicolai

by (600 points)
Hello Nicolai,

in most Use-cases i totally agree with you, many thx for the fast response.
But, In our Use-case we query documents, which will normaly have no (or very rare) furhter changes with a custom developed client (e.g. Pictures). In this case it would be great if we could allow caching these contents instead of downloading the current version again for each new request...
Does yuuvis support a configuration, where we could define how caching of content behaves?

Many Thx
Martin
by (14.8k points)
Hi Martin,

At the moment we rarely set CacheControl headers and this can't be changed by configuration either.

I will take this as a change request for a version 7.x.

BR Martin
by (600 points)
Hi Martin,

many thx... :-)

Rgds
Martin

Related questions

0 votes
1 answer
0 votes
2 answers
asked Jan 2, 2019 by Mathias Keller (1.3k points)
+1 vote
5 answers
asked Aug 30, 2018 by Maris Miezitis (920 points)
...