In the last decades interests on cleavable linkers are growing due to the need to develop controlled drug delivery systems in biochemical and therapeutic applications. The synthesis of hydrogels as devices capable to maintain the drug level within a desired range for a long and sustained period of time is a leading strategy for this aim. However with respect to the good results obtained with antibodies and peptides there are a lot of problems related to the quick and uncontrolled diffusion of small molecules through hydrogel pores. In this work, we propose the functionalization of polyethylene glycol (PEG) chains with two different pH-sensitive linkers, ester and hydrazone, and their application as building blocks of microwave-assisted hydrogels for controlled delivery of small hydrophilic drugs. As drug mimetic we used Rhodamine B, a harmless fluorophore with steric hindrance and reactive groups similar to many small hydrophilic drugs. At physiological and low basic conditions, the cleavability of ester and hydrazone spacer evidenced the possibility to delay the release of drugs from the scaffold compared to hydrogels where drug was entrapped within the network only due to its steric hindrance. The obtained release profiles were compared, underlining the opportunity to tune the release rate using the synthesized hydrogels.