Pros and Cons of a separate image server (e.g. images.mydomain.com)?

后端 未结 5 2098
鱼传尺愫
鱼传尺愫 2020-12-14 11:57

We have several images and PDF documents that are available via our website. These images and documents are stored in source control and are copied content on deployment. We

5条回答
  •  忘掉有多难
    2020-12-14 12:31

    If you're serving HTTPS and you serve an image from an HTTP domain then you'll get browser security alert warnings pop up when you use it.

    So if you do HTTPS, you'll need to buy HTTPS for your image domain awell if you don't want to annoy the hell out of your users :)

    There are other ways around this, but it's not particularly in the scope of this answer - it was just a warning!

提交回复
热议问题