Revealed: A long-term investment strategy could be key to beating inflation