Encoders directly to the GPIO of the Pi 4?

Could only found 100nF in reasonable size (805), would that be problem for encoder as well? I think not, but?