Although compression of the GS1 Digital Link URL is possible, the General Specifications states it shall not be used for trade items that will be scanned at point-of-sale or for extended packaging applications. This is because most scanners and systems are currently unable to decode and utilise the information in its compressed form.  

See the GS1 General Specifications - Symbol specification table 1 addendum 2 for 2D barcodes: