- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Rails (Ruby)
Add the middleware gem to your Gemfile:
shell gem 'prerender_rails'
In config/environment/production.rb:
ruby config.middleware.use Rack::Prerender, prerender_token: 'YOUR_TOKEN'
Was this article helpful?