Proposals
Proposals like, put 100nF on the VCC, or put 33 Ohms on the communication line are mostly not based on a basic understanding of what's really happening. That's mainly the reason why the "lesson" helped you and you basically learned nothing.
Reflection, Impedance trimming
Putting a resistor in series or parallel does affect the impedance the endpoints (your SPI-Master and SPI-Slave) see. That resistance depends a lot on the environment like the wave impedance on the PCB and the output-/input impedance. If the impedance is mismatched, some unpleasant effects show up on your connection (reflection, over- under-shoot).
But normally an SPI connection is almost DC, since the bus speed is at the lower MHz.
Because the SPI bus contains pulses for data and clock, those have sharp edges which cause frequencies even above your clock speed.
(Have a look at: https://en.wikipedia.org/wiki/Square_wave#Fourier_analysis)
Sharp edges lead to short rise-times which lead to high frequencies causing the problems mentioned above.
For a rule of thumb:
You don't care about that (higher-level) problems when length of the SPI bus is less then the critical length:
\$l_{crit} \approx 3 cm \cdot t_{rise}\$
[risetime in nano seconds]
To come back to your question
When putting a resistor on a typical SPI connection, you do not need to care about the wave impendance, but you need to get rid of the transients coming from the sharp edges and the resistor helps to smooth them out.
The SPI master must charge the input capacitance on the receivers and with a higher impedance on the bus lines, you get an load curve. It is like an RC low-pass filter, provide the resistance.
Now, what R to choose?
To select the correct resistance, have look on the capacitance of your bus. If you can not get it from datasheets, you need to measure your SPI bus. What you want is at least a stable signal level on the data line on the rising edge (or falling edge [depending on your SPI mode]) of the clock. Almost every IC with SPI interface specifies the maximum rise-time for the clock. So, you can "trim" your setup near to that level.
For that, starting with 33 Ohms is a good starting point.
My intent was to tell you what happens on the line, when putting a resistor on it.