```ruby
Userdata.new.shared_cache = Cache.new :namespace =>"dos_detector", :size_mb=> 512

```

Clear cache which was created before
user
```ruby
config = {:namespace =>"dos_detector"}

c = Cache.new config
c.clear

Userdata.new.shared_cache = c

```
assistant