ecto / bleach

:no_entry_sign: minimalistic HTML sanitizer for node.js
119 stars 21 forks source link

Avoid synchronous I/O in filter method #6

Closed scriby closed 10 years ago

scriby commented 12 years ago

A web site that used the filter method to service a web request would have a big drop in throughput as it uses blocking I/O. You should consider caching the filters or providing an async method.