wp-admin slow loading when editing pages

For last few days my sites backend is really slow, when opening pages to edit in the basic editor it seems to be taking around 20 secs, and opening in elementor editor can take 30 secs.

Elementor is also saying i can open in safe mode because it’s taking too long.