You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/07 09:33:13 UTC

[GitHub] [apisix] spacewander commented on pull request #2163: improve: cache parsed certs and pkeys to LRU cache

spacewander commented on pull request #2163:
URL: https://github.com/apache/apisix/pull/2163#issuecomment-688200088


   Would it be better to store the parsed data in `ssl.value` like https://github.com/apache/apisix/blob/f6228b180946a0c15dd314cdc0c53a9024d04823/apisix/http/router/radixtree_sni.lua#L104?
   
   Therefore we can ensure the parsed data will be reused. If we use LRU cache and cache is not large enough, the newly parsed data will evict an old one.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org