[#60168976] Made query cache variables dynamic