aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IAssetCache.cs
diff options
context:
space:
mode:
authorMelanie Thielker2016-12-29 15:47:46 +0000
committerMelanie Thielker2016-12-29 15:47:46 +0000
commit07b48fd58c343d18b8ce64179e344439070511e8 (patch)
tree1a2bfb247699b8b6b94fa9d8146ee5341a08011f /OpenSim/Framework/IAssetCache.cs
parentActually rename the file, too (diff)
downloadopensim-SC-07b48fd58c343d18b8ce64179e344439070511e8.zip
opensim-SC-07b48fd58c343d18b8ce64179e344439070511e8.tar.gz
opensim-SC-07b48fd58c343d18b8ce64179e344439070511e8.tar.bz2
opensim-SC-07b48fd58c343d18b8ce64179e344439070511e8.tar.xz
Add negative caching to flotsam cache. Prevents scripts from hammering the asset server
Diffstat (limited to 'OpenSim/Framework/IAssetCache.cs')
-rw-r--r--OpenSim/Framework/IAssetCache.cs6
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>