Keep in mind how the "Neutral Space" UP Treaty can affect you. That is, any ships in what becomes enemy space will get teleported to a boundary. The only exception appears to be ships in orbit around a planet, even if that planet is "behind enemy lines".
This, in turn, means that defenders set to "Guard" at mining starbases will also be thrown out of enemy space. (And even bases with lots of modules lose most battles.) In one game, I had three mining starbases close together far from any planets but in another empire's space. I knew I would lose them at the outbreak of hostilities, so I built and upgraded an Influence starbase in the middle to create a small pocket of friendly space to park the defenders.
In another case, I had just two starbases close together but they were both red bases that I wanted greatly to protect. They were too close to future-enemy planets to have any hope that i could build an Influence base to include them. What I did may have been a bit cheesy, but I built a base at the border and added enough mil starbases with speed boosters to let me get my defenders on station instantly upon war declaration. Just in case the AI bagged the bases in a surprise Pearl Harbor (The Drengi have done that once or twice to me), I had some constructors there, also.
The starbase speed-boost cluster around the major fleet rendezvous is a known device, of course. It is strongest in smaller galaxies, obviously, where one might be able to completely conquer any enemy on the opening war turn, but it can be useful even in the largest galaxies.