GALLO Interview Question

For your hypothetical website, how would you minify the URL using the backend?