I've seen in a number of threads on the forum that you recommend loading a layer twice when you need to label it, and placing the layer styled one on top so that labels display correctly, etc. We are using a Postgres/PostGIS system to store our layer data, and I just wanted to find out how the system handles it when two identical layers are loaded. The latency for fetching a layer in our environment can be up to 5 seconds, so I dont want to go back to the DB any more than I have to.
Does it go back to the database both times to fetch the data, or does it (somehow) recognise that this is the same layer, and just duplicate the existing one?
Would it be more performant for me to manually Clone() the layers I want to put labels on, and then add those FeatureLayers directly, rather than fetching the data from the DB again?