[OPTIMIZATION] Some optimization to reduce the call to httpebble