Heat squid rings in a pan or wok without oil to release the natural juices. To avoid rubbery squids, do not overcook. Scoop out squid and juices into separate bowls.
Heat oil and fry onion slices until just turning golden. Then add dried chilli paste and the finely pounded/blended paste ingredients. Fry this sambal paste until fragrant (oil has separated).