diff options
author | Melanie Thielker | 2016-12-29 15:47:46 +0000 |
---|---|---|
committer | Melanie Thielker | 2016-12-29 15:47:46 +0000 |
commit | 07b48fd58c343d18b8ce64179e344439070511e8 (patch) | |
tree | 1a2bfb247699b8b6b94fa9d8146ee5341a08011f /OpenSim/Framework | |
parent | Actually rename the file, too (diff) | |
download | opensim-SC_OLD-07b48fd58c343d18b8ce64179e344439070511e8.zip opensim-SC_OLD-07b48fd58c343d18b8ce64179e344439070511e8.tar.gz opensim-SC_OLD-07b48fd58c343d18b8ce64179e344439070511e8.tar.bz2 opensim-SC_OLD-07b48fd58c343d18b8ce64179e344439070511e8.tar.xz |
Add negative caching to flotsam cache. Prevents scripts from hammering the asset server
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IAssetCache.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/IAssetCache.cs b/OpenSim/Framework/IAssetCache.cs index 855b86b..8477116 100644 --- a/OpenSim/Framework/IAssetCache.cs +++ b/OpenSim/Framework/IAssetCache.cs | |||
@@ -38,6 +38,12 @@ namespace OpenSim.Framework | |||
38 | void Cache(AssetBase asset); | 38 | void Cache(AssetBase asset); |
39 | 39 | ||
40 | /// <summary> | 40 | /// <summary> |
41 | /// Cache that the specified asset wasn't found. | ||
42 | /// </summary> | ||
43 | /// <param name='id'></param> | ||
44 | /// <summary> | ||
45 | void CacheNegative(string id); | ||
46 | |||
41 | /// Get an asset by its id. | 47 | /// Get an asset by its id. |
42 | /// </summary> | 48 | /// </summary> |
43 | /// <param name='id'></param> | 49 | /// <param name='id'></param> |