Allow cache timestamp format to be changed like in ActiveRecord.

See https://github.com/rails/rails/blob/master/activerecord/lib/active_record/integration.rb#L14