Replaced $GLOBALS with blink cache