[FEATURE] Speedup backend and allow compression in frontend