Below is an example of an ESP-01 with a ceramic capa directly on the ESP module. It is a good idea to plug all the module pins into a socket while soldering, the socket will then serve as thermal shunt - helping to avoid the ESP pins from getting displaced when it gets hot. Finally, it is a good idea to cover this by a glob of e.g. hot-melt glue to fix and insulate.
Below is an example of an ESP-01 with a ceramic capa directly on the ESP module. It is a good idea to plug all the module pins into a socket while soldering, the socket will then serve as thermal shunt - helping to avoid the ESP pins from getting displaced when it gets hot. Finally, it is a good idea to cover this by a glob of e.g. hot-melt glue to fix and insulate.