Difference between revisions of "Ns register fastpath"

From AOLserver Wiki
Jump to navigation Jump to search
(New page: Fastpath is AOLserver's high-performance static file serving mechanism. Suppose you have a 'dispatch'-type procedure registered to serve all URLs under /*. In this case, you can use this c...)
 
Line 1: Line 1:
Fastpath is AOLserver's high-performance static file serving mechanism. Suppose you have a 'dispatch'-type procedure registered to serve all URLs under /*. In this case, you can use this command new to AOLserver 4.5 to restore fastpath processing for a certain url, i.e. /images/*.
+
Fastpath is AOLserver's high-performance static file serving mechanism. Suppose you have a 'dispatch'-type procedure registered to serve all URLs under /*. In this case, you can use this command new to AOLserver 4.5 to restore fastpath processing for a certain url path, i.e. /images/*.
  
 
Syntax:
 
Syntax:
Line 5: Line 5:
 
  ns_register_fastpath GET|POST /URL/*
 
  ns_register_fastpath GET|POST /URL/*
  
---
+
----
  
 
[[Category:Documentation]] [[Category:Core Tcl API]]
 
[[Category:Documentation]] [[Category:Core Tcl API]]

Revision as of 00:07, 4 October 2009

Fastpath is AOLserver's high-performance static file serving mechanism. Suppose you have a 'dispatch'-type procedure registered to serve all URLs under /*. In this case, you can use this command new to AOLserver 4.5 to restore fastpath processing for a certain url path, i.e. /images/*.

Syntax:

ns_register_fastpath GET|POST /URL/*