Class ::acs::SiteNodeUrlspaceCache
::acs::SiteNodeUrlspaceCache
create ...
Cache site-node information via ns_urlspace. We can use
the URL trie, which supports tree match operations, for
tree information. This means that for example for .vuh
handlers it is not necessary to cache the full url for
obtaining the site-node, like it was until now:
3839 id-/storage/view/installers/windows-installer/installer.htm
3839 id-/storage/view/aolserver/install.tgz
3839 id-/storage/view/tutorial/OpenACS_Tutorial.htm
3839 id-/storage/view/openacs-dotlrn-conference-2007-spring/Methodology_ALPE.pdf
3839 id-/storage/view/xowiki-resources/Assessment.jpg
3839 id-/storage/view/tutorial-page-map.png
...
Providing a single entry like
ns_urlspace set -key sitenode /storage/* 3839
is sufficient for replacing all entries above.
Defined in packages/acs-tcl/tcl/site-nodes-procs.tclClass Relations
- class: ::nx::Class
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- superclass: ::nx::Object
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- mixinof: ::acs::site_node
![[i]](/resources/acs-subsite/ZoomIn16.gif)
::nx::Class create ::acs::SiteNodeUrlspaceCache \
-superclass ::nx::Object