render_async is here to make your pages show faster to users. Pages become faster seamlessly by rendering partials to your views. Partials render asynchronously and let users see your page faster than using regular rendering. It works with Rails and its tools out of the box. A quick overview of how render_async does its magic. User visits a page, render_async makes an AJAX request on the controller action, controller renders a partial, partial renders in the place where you put render_async view helper. JavaScript is injected straight into <%= content_for :render_async %> so you choose where to put it. Advanced usage includes information on different options. render_async renders an element that gets replaced with the content of your request response. In order to have more control over the element that renders first (before the request), you can set the ID of that element.

Features

  • Pass in a container ID
  • Pass in an HTML element name
  • Retry on failure
  • Control polling with a toggle
  • Use with respond_to and JS format
  • Customize the content_for name

Project Samples

Project Activity

See All Activity >

Categories

AJAX, File Sync

License

MIT License

Follow render-async

render-async Web Site

Other Useful Business Software
AestheticsPro Medical Spa Software Icon
AestheticsPro Medical Spa Software

Our new software release will dramatically improve your medspa business performance while enhancing the customer experience

AestheticsPro is the most complete Aesthetics Software on the market today. HIPAA Cloud Compliant with electronic charting, integrated POS, targeted marketing and results driven reporting; AestheticsPro delivers the tools you need to manage your medical spa business. It is our mission To Provide an All-in-One Cutting Edge Software to the Aesthetics Industry.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of render-async!

Additional Project Details

Programming Language

JavaScript, Ruby

Related Categories

Ruby AJAX Software, Ruby File Sync Software, JavaScript AJAX Software, JavaScript File Sync Software

Registered

2022-02-23