comparison Sphinx/source/faq/features.rst @ 1085:05d37a5abcc4

dicom-as-json hk
author Alain Mazy <am@orthanc.team>
date Fri, 28 Jun 2024 11:15:17 +0200
parents 2e103fb1fa11
children faf18bfe89a0
comparison
equal deleted inserted replaced
1082:202b378001f0 1085:05d37a5abcc4
262 262
263 In the version of Orthanc <= 1.9.0, whenever Orthanc receives a DICOM 263 In the version of Orthanc <= 1.9.0, whenever Orthanc receives a DICOM
264 file, it pre-computes a JSON summary of its DICOM tags, and caches 264 file, it pre-computes a JSON summary of its DICOM tags, and caches
265 this JSON file as an attachment to the DICOM instance (accessible at 265 this JSON file as an attachment to the DICOM instance (accessible at
266 the ``/instances/{...}/attachments/dicom-as-json/`` URI). This 266 the ``/instances/{...}/attachments/dicom-as-json/`` URI). This
267 attachment is used as a cache to seep up future accesses to 267 attachment is used as a cache to speed up future accesses to
268 ``/instances/.../tags``, lookups using ``/tools/find`` or C-FIND 268 ``/instances/.../tags``, lookups using ``/tools/find`` or C-FIND
269 queries. 269 queries.
270 270
271 This caching might cause issues if the dictionary of DICOM tags is 271 This caching might cause issues if the dictionary of DICOM tags is
272 subsequently modified, which implies that the cached JSON file does 272 subsequently modified, which implies that the cached JSON file does
273 not perfectly match the new dictionary. 273 not perfectly match the new dictionary.
274
275 Starting from 1.9.0, these files are not necessary anymore. They can
276 possibly be removed by the :ref:`Housekeeper plugin <housekeeper-plugin>`
277 to reclaim disk space.
274 278
275 .. highlight:: bash 279 .. highlight:: bash
276 280
277 Since Orthanc 1.2.0, you can force the re-generation of the cached 281 Since Orthanc 1.2.0, you can force the re-generation of the cached
278 JSON file by DELETE-ing it, for instance:: 282 JSON file by DELETE-ing it, for instance::