fixing caching link generator for STS and GGTS