We present an efficient graphene-based photodetector with two Fabri-P\'erot cavities. It is shown that the absorption can reach almost 100% around a given frequency, which is determined by the two-cavity lengths. It is also shown that hysteresis in the absorbance is possible, with the transmittance amplitude of the mirrors working as an external driving field. The role of non-linear contributions to the optical susceptibility of graphene is discussed.