Webhooks caching

Skip to first unread message

Kedar Undale

Jul 8, 2021, 9:08:31 AM7/8/21
to vernemq-users
1. Does vernemq use node's in memory to store auth_on_register, auth_on_publish, auth_on_subscribe hook call data ?

2. What is the expected response for auth_on_register hook so that the call gets stored in cache? 
I return the following response to verne 

along with 
cache-control: max-age=180

I am able to see entries in verne cache but I see equivalent number of misses too.
FYI the peer port keeps changing on every auth_on_register. Is this the reason for the cache misses?

Please help

Reply all
Reply to author
0 new messages