When lithium ion batteries first came out about 10 years ago, they appeared to loose about half their capacity in three years regardless of use. Considering that most consumer electronics e.g. phones and laptops have had a useful life of about 3 years before becoming too slow computationally to run the latest software in an appealing way, or had too little expandable memory to upgrade, this was somewhat tolerated. As others have already noted, most lithium ion chemistry commonly available now appear to additionally degrade (in terms of capacity) as a result of every full charge/discharge cycle, storage time, temperature and potentially depth of discharge.
Increasing their net storage capacity ie energy extracted on discharge aggragated over all their discharge cycles (or at least until their capacity degrades to a barely useful level,) will likely be achieved by limiting their maximum charge AND discharge voltages and maximum discharge current (beyond the manufacturers recommendations). Some manufacturers may publish data on all of the factors affecting their utility for your specific use or make it available on request. The BatteryUniversity website appears to have some data on these things as noted by others.
Lately I have been looking for lithium ion batteries with considerably longer shelf life - for 'power-wall' like applications. This information is typically not too readily available from inexpensive resellers (e.g. aliexpress) and you may want to avoid them given they could sell manufacturing rejects or 'seconds'/'thirds'. I am also having trouble getting these folk to indicate if the manufacturing date is printed (or better stamped) on their cells. My recommendation if shelf life is of interest to you is to find a manufacturer that clearly marks their cells with a manufacturing date AND gives a shelf life guarantee. Tesla car batteries have longevity/shelf life guarantees of 8-10 years (if memory serves me correctly). Some people sell these on-line used - but unless you know how many cycles they were subjected to (and their depth i.e. minimum discharge voltage,) you may not have a good idea how long they will last you.
I don't recall if lithium ion cells suffer from shallow charge/discharge cycles like earlier chemistries (e.g. nicad cells). This sort of thing would happen if someone only ever drives their Tesla for a few minutes to the store and back and always re-tops the charge on the battery back to 100% between trips. Note that lithium Ion cell manufacturers might not prefer you get the maximum life out of them either, so getting this data might require persistence. Should Tesla have solid guarantees on their battery longevity, it's more likely their battery packs include a sophisticated battery monitoring feature (and charge control/options) that I have yet to search for via google...
My apologies if this appears somewhat poorly edited (noting most electrical engineers are not creative writing enthusiasts.)