9 lines
3.9 KiB
HTML
9 lines
3.9 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/asset_cache_item - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/asset_cache_item.html#var">Var Details</a></header><main><h1>asset_cache_item <aside>/<a href="datum.html">datum</a>/<a href="datum/asset_cache_item.html">asset_cache_item</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L6"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 6"></a></h1><p>An internal datum containing info on items in the asset cache. Mainly used to cache md5 info for speed.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/asset_cache_item.html#var/keep_local_name">keep_local_name</a></th><td>TRUE for keeping local asset names when browse_rsc backend is used</td></tr><tr><th><a href="datum/asset_cache_item.html#var/legacy">legacy</a></th><td>Should this file also be sent via the legacy browse_rsc system
|
||
when cdn transports are enabled?</td></tr><tr><th><a href="datum/asset_cache_item.html#var/namespace">namespace</a></th><td>Used by the cdn system to keep legacy css assets with their parent
|
||
css file. (css files resolve urls relative to the css file, so the
|
||
legacy system can't be used if the css file itself could go out over
|
||
the cdn)</td></tr><tr><th><a href="datum/asset_cache_item.html#var/namespace_parent">namespace_parent</a></th><td>True if this is the parent css or html file for an asset's namespace</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/keep_local_name"><aside class="declaration">var </aside>keep_local_name <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L22"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 22"></a></h3><p>TRUE for keeping local asset names when browse_rsc backend is used</p><h3 id="var/legacy"><aside class="declaration">var </aside>legacy <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L13"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 13"></a></h3><p>Should this file also be sent via the legacy browse_rsc system
|
||
when cdn transports are enabled?</p><h3 id="var/namespace"><aside class="declaration">var </aside>namespace <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L18"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 18"></a></h3><p>Used by the cdn system to keep legacy css assets with their parent
|
||
css file. (css files resolve urls relative to the css file, so the
|
||
legacy system can't be used if the css file itself could go out over
|
||
the cdn)</p><h3 id="var/namespace_parent"><aside class="declaration">var </aside>namespace_parent <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/modules/asset_cache/asset_cache_item.dm#L20"><img src="git.png" width="16" height="16" title="code/modules/asset_cache/asset_cache_item.dm 20"></a></h3><p>True if this is the parent css or html file for an asset's namespace</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |