Ask DN: The tech behind your portfolio?

over 5 years ago from John Karlsson,

  • Daniel EdenDaniel Eden, over 5 years ago

    Here we go.

    • Jekyll running the show
    • Grunt running the not-so-fun-but-makes-the-difference tasks, including:
      • SVG optimisation and conversion to PNG
      • Sass/Compass compiling
      • CSS fingerprinting
      • CSS compression
    • GitHub as the central repo
    • RamNode hosting (affiliate link. I’m greedy. They’re brilliant.)
    • Varnish cache
    • CloudFlare CDN
    • Responsive images via ReSRC

    You can find out more at the repo.

    4 points
    • Tim GauthierTim Gauthier, over 5 years ago

      why convert svg to png?

      1 point
    • Ryan LeFevreRyan LeFevre, over 5 years ago (edited over 5 years ago )

      Purely out of curiosity... if your site is open-source already with Github and made with Jekyll, why pay for the hosting when you can host it for free with Github Pages? You wouldn't have to worry about Varnish and probably CloudFlare too.

      1 point
      • Tiago DuarteTiago Duarte, over 5 years ago

        I was curious about this as well so I did some digging and I found this on the Github repo of the site:

        Why aren’t you hosting this on GitHub? While GitHub lets you host Jekyll-powered sites directly on GitHub itself, they don’t allow many custom Jekyll plugins. They also don’t allow executable code such as PHP, which is pretty vital to many parts of the site.

        0 points
        • Parker MooreParker Moore, over 5 years ago

          The idea behind Jekyll & GitHub Pages is that there's nothing dynamic – no PHP or database. Your files are used by Jekyll to create pure HTML/CSS/JS – nothing dynamic on the server side. You gain so much, including incredible speed. I would highly, highly recommend GHP. Feel free to reach out to me if you have questions -- just mention me on GitHub: @parkr.

          0 points
      • Daniel EdenDaniel Eden, over 5 years ago

        See Tiago’s comment. Also, my site isn’t the only one running on the server, and I like having control of my own VPS.

        0 points