vixns edited this page May 14, 2011 · 6 revisions
Clone this wiki locally

CGI/FastCGI Wrapper for nekoVM and the haxe cpp target


For more documentation visit the hxfcgi wiki page.

Differences to haxe Web API:

  • If you using FastCGI you should use Web.cacheModule(), otherwise the module will be restarted after every request, which is quite slow.
  • If you using CGI if does not matter if you use Web.cacheModule().
  • When setting cache with Web.cacheModule(run), run is called, don't call your run method after caching or it may run twice.
  • You need to print some data, when sending headers only, call Lib.print(''); after setting all headers.