• Yorick Peterse's avatar
    Cache & flush tag/branch counts · cb5a5ba0
    Yorick Peterse authored
    The methods used for this are Repository#tag_count and
    Repository#branch_count which cache their output in Redis as well as
    memoizing it in an instance variable. Both methods have a corresponding
    methods/hooks to flush the caches at the right time.
    cb5a5ba0
_head.html.haml 978 Bytes