3

I'm working on a site project right now and I have a ton of image assets that are hosted on firebase storage - which is effectively a CDN hosting media on SSD's globally.

When referencing the media on the site, however, I can use the firebase link directly to the image asset or, I figured, can go through a link shortener like bit.ly or branch.io (the firm uses this for link shortening) which would allow me to update the images later without having to update the website but instead just update the link the shortened one is pointing at.

I'm wondering though if there is any issue with doing this? I think uptime and latency is possible?

Any other issues?

Is this a really bad idea too?

1 Answers1

2

Any web property resolution involving a third party like a URL shortener will have an impact on performance.

Ref: https://techcrunch.com/2010/03/17/url-shorteners-speed/

The decision to use one or not comes down to cost-benefit analysis. You could use a tool like gtmetrix to measure how the URL Shortener is affecting the speed of the concerned components. If the delay (resolution, latency, etc.,) is negligible compared to the administrative benefit , you should be least bothered.

As a point of note, you may very well try a URL shortening mechanism on your server. For example, if you are using apache, you can use htaccess rewrites to shorten URLs. (However, the specifics don't come under the scope of this question.)

Kannan
  • 2,353
  • 12
  • 25