As the title suggests...
I would like to know how rested experience is calculated?
What is the cap / maximum?
Is there a higher benefit to being in a cantina versus on your ship?
I've seen numbers quoted as 10% of your current required experience to level. Rested caps at 100% of the experience required to level at your current level. As long as you are in a resting area (Cantina, Fleet, or ship) you gain rested experience; none gives a bonus over the other.