How do I use the JS-file caching mechanism of Horde?

Sebastian Birnbach <[email protected]> Thu, 23 Nov 2017 09:35:20 +0100
Newsgroups gmane.comp.horde.devel
Message-ID <CACTNBFM7JcrAVFCvdDFhxZO0Xs-3E845RBam+YO3gtiWTrez0Q@mail.gmail.com>
I am playing around with Horde_Views and the Javascript gems in /js, like
tables.js or form_sections.js. It is a real pity that there is so little
documentation (none at all?) on these.

Anyway, I am wondering how to include JS files making use of the Horde JS
caching system. For instance, I see in the HTML source of an average Horde
page something like

  <script type="text/javascript"
src="/js/prototype.js?v=596ca0a81b7fe741719c6df2f8b52a22

and I assume that the v=... is a caching key. What would be the proper way
to get such a key and denote inclusion of a JS file in a Horde_View with
caching support?
-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]