Local drug delivery devices could reduce side-effects, improve the efficacy of existing drugs and open the door to entire classes of new treatments. Such combined systems are able to precisely control the timing of a drug release by adjusting the properties of the carriers.