Giter Site home page Giter Site logo

Use GitHub as a CDN? about subtlepatterns HOT 5 CLOSED

atlemo avatar atlemo commented on August 16, 2024
Use GitHub as a CDN?

from subtlepatterns.

Comments (5)

Bugster avatar Bugster commented on August 16, 2024

GitHub is slower than using an actual CDN or even your own hosting most
of the time.

On 27/04/2013 04:49, shazdeh wrote:

Hi,
is it possible from both legal and technical point to link to these
patterns on GitHub?
Any insight is appreciated.


Reply to this email directly or view it on GitHub
#20.

from subtlepatterns.

tom2strobl avatar tom2strobl commented on August 16, 2024

It is generally not a good idea, because the file is being served as text/plain and as such being blocked in Internet Explorer on Windows 7 for instance (because of the wrong MIME type).

from subtlepatterns.

1j01 avatar 1j01 commented on August 16, 2024

You can use rawgit (https://cdn.rawgit.com/subtlepatterns/SubtlePatterns/gh-pages/irongrip.png), which serves proper Content-Types. But keep in mind that data URIs would be preferable in most cases, because they don't even require a separate request, and some of these patterns are so small that they only take up like 200 characters in base 64. Unless you need to support ie7 (http://caniuse.com/datauri)

from subtlepatterns.

DanielRuf avatar DanielRuf commented on August 16, 2024

GitHub explicitely says that it should not be used as CDN.

from subtlepatterns.

praisedpk avatar praisedpk commented on August 16, 2024

Github is not a CDN. You can use dedicated subtlepatterns CDN for direct linking of pattern images from your website.

from subtlepatterns.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.