Know what errors lurk in your code? Rollbar detects and alerts you when code breaks in production. Get the stack trace, code, and data to help you d̶e̶b̶u̶g̶ defeat Ruby errors. Learn more.

RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How Rubycoders use Contentful cms to publish posts

At Rubycoders we have introduced contentful cms to manage blog articles https://rubycoders.io/articles/how-rubycoders-interract-with-contentfull-cms

Comments

I don’t mean to shoot down a helpful tutorial, but a solution like this that calls a third-party API to download content for every page view is going to perform badly and possibly crash under heavy load. It’s generally a much better approach these days to use an SSG (Static Site Generator) such as a Jekyll, and you can even use content APIs such as Contentful with an SSG. With the pages being generated once and then propagated through a CDN, you’ll have a blog that can scale from 1 viewer to 1 million viewers without breaking a sweat.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in