mirror of https://github.com/kiwix/libkiwix.git
The current implementation of resource preprocessing contains a bug (with respect to the problem that it tries to solve): it doesn't take into account the dependence of static resources on each other. If resource A refers to B and B refers to C, then a change in C would result in its cache id being updated in the preprocessed version of B. However the cache id of B won't change since the cache id is derived from the source rather than from the preprocessed output. This commit is the first step towards addressing the described issue. Now cache-id of a resource is computed on demand rather than precomputed for all resources. The only thing remaining is to compute the cache-id from the preprocessed content. |
||
---|---|---|
.. | ||
kiwix-compile-i18n | ||
kiwix-compile-i18n.1 | ||
kiwix-compile-resources | ||
kiwix-compile-resources.1 | ||
kiwix-resources | ||
meson.build |