zotero / citeproc-js-server

Web service to generate citations and bibliographies using citeproc-js
Other
60 stars 39 forks source link

Why are the style objects not cached? #43

Open nicolasfranck opened 2 years ago

nicolasfranck commented 2 years ago

The current version does not cache the parsed csl style objects but loads them on every request.

This is due to the following reasons:

Why not simply cache the parsed style objects (which are immutable)? Those are the slowest to load. In that case there is no need for an engine cache, as that complicates matters.

In short: the caching is done at the wrong place?