I find gluten- and dairy-free pastry shrinks more than usual when baked blind, but the recipe I use makes a sweet shortcrust pastry case which doesn't stick to the baking tin, doesn't seem to suffer from soggy bottoms and has a good 'short' texture which doesn't become too hard, which seems a good trade-off to me. The dough starts out stickier, and needs careful handling - you can find the details here. Instead of adding the tart filling to a raw pastry case, as in that particular recipe, the pastry case is baked blind once the clingfilm is removed.
When baking blind, the only thing I do differently, compared to regular shortcrust pastry, is to dry out the pastry case for a little longer than usual, at a lower temperature. I initially bake the case, lined with baking parchment and filled with baking beans, at 200C for about 12-15 minutes, then turn the oven down to 160C, remove the parchment and beans and return the empty pastry case to the oven for about 20 minutes.
The filling for this tart is dense and fudgy, but as you don't add much extra sugar, it allows the flavour of the chocolate to dominate, so you need to choose a chocolate that you are happy to eat on its own. The addition of the coffee is to further bring out the chocolate flavour, but I can't see any reason why other flavours couldn't be used too, such as orange zest. And, of course, if you don't need dairy/lactose-free, make it with butter and regular double cream.
As you can see, I served this tart with raspberries and there was also raspberry coulis and cream available.