[rebar template] add template ets cache which support size&&mem limit using FIFO