[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #GYQ-484919]: cache configuration

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [THREDDS #GYQ-484919]: cache configuration
  • Date: Mon, 19 Jun 2017 16:49:17 -0600

Hi Fan,

The "recheckEvery" attribute does what you want [1]. However, that attribute 
only applies when using a scan element, which it doesn't seem like you're 
using. Right now, I think your only option is to periodically delete the 
aggregation cache directory [2], possibly in a crontab. There really ought to 
be a way to disable caching, but it's currently not possible. I've made an 
issue [3] for it though.

Cheers,
Christian

[1] 
https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/ncml/AnnotatedSchema4.html#aggregation
[2] 
http://www.unidata.ucar.edu/software/thredds/current/tds/reference/ThreddsConfigXMLFile.html#Cache_Locations
[3] https://github.com/Unidata/thredds/issues/863

Ticket Details
===================
Ticket ID: GYQ-484919
Department: Support THREDDS
Priority: High
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.