An Optimized Double Cache Technique for Efficient Use of Forward-secure Signature Schemes