Step 1: Prep the Oven and Pan
Preheat your oven to 375°F (190°C).
Grease an 8x8-inch baking pan (metal or glass) generously with a splash of extra virgin olive oil to prevent sticking.
Step 2: Sauté the Aromatics and Greens
Heat 1 tablespoon of extra virgin olive oil in a deep skillet over medium heat.
Add the diced yellow onion and minced garlic. Sauté for 3–4 minutes until translucent and fragrant.
Add the chopped fresh spinach in large handfuls, turning constantly with tongs until completely wilted and reduced in size. Remove the skillet from heat.
Step 3: Squeeze and Drain the Spinach (Crucial Step!)
Allow the wilted spinach mixture to cool down for about 5 minutes.
Transfer the spinach to a clean kitchen towel, cheesecloth, or fine-mesh sieve.
Twist, press, and squeeze firmly to extract as much excess liquid water as humanly possible. (Note: Removing this moisture prevents a soggy, watery bake and ensures clean slices!)
Step 4: Prepare the Egg Custard Base
In a large mixing bowl, beat the 6 eggs vigorously with a whisk until they are pale, frothy, and fully blended.
Whisk in the flour (if using), dried oregano, sea salt, black pepper, and optional chili flakes until smooth.
Step 5: Mix the Filling Together
Gently fold the squeezed spinach, crumbled block feta cheese, chopped green scallions, and fresh dill into the beaten egg mixture using a rubber spatula. Mix until everything is evenly distributed.
Step 6: Assemble and Smooth
Pour the final mixture directly into your prepared, oiled baking dish.
Use your spatula or the back of a spoon to level the top and spread it into a uniform, flat layer from corner to corner.
Step 7: Bake to Golden Perfection
Bake uncovered in the middle rack of your preheated oven for 30 to 35 minutes.
The dish is ready when the edges turn a rich golden-brown color and the center is completely set and firm to a light touch.
Step 8: Cool, Slice, and Serve
Remove from the oven and transfer the pan to a wire cooling rack.
Let the casserole rest untouched for 10–15 minutes. This cooling window allows the cheese and egg proteins to firm up, ensuring perfectly clean, sharp lines when you cut it into individual squares.
Serve warm, at room temperature, or chilled straight from the fridge!