{"id":8472,"date":"2020-01-16T08:56:19","date_gmt":"2020-01-16T03:26:19","guid":{"rendered":"https:\/\/www.botreetechnologies.com\/blog\/?p=8472"},"modified":"2021-09-15T17:13:44","modified_gmt":"2021-09-15T11:43:44","slug":"ways-to-improve-web-performance-with-rails","status":"publish","type":"post","link":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/","title":{"rendered":"Improve Ruby on Rails App Development Performance in 5 simple ways"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ruby on Rails, often referred to as Rails, is a web application framework for building dynamic websites. The framework has gained popularity, especially among small startups. Examples of sites built on Rails are Airbnb, Bloomberg, and Crunchbase. <a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\">Ruby on Rails web application development <\/a>takes 25 to 40% less time than other frameworks due to its simplicity and easy coding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Considering the requirement of rapid prototypes and more time-to-market, Ruby on Rails makes sense for companies. The Ruby on Rails web application architecture enables companies to make flexible modifications in their apps and add new features accordingly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, an important aspect is to improve the performance of Ruby on Rails for developing applications. While there are several Rails web application tutorial for improving development performance, you can\u2019t get it properly until you practice it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Rails works as a collection of gems (packages), add-ons, and extensions that make it powerful and complex at the same time. In this article, you\u2019ll learn how to use Rails to optimize and improve application performance.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Read more: <a href=\"https:\/\/www.botreetechnologies.com\/blog\/ruby-on-rails-development-performance-boosting-tips\/\" target=\"_blank\" rel=\"noreferrer noopener\">Top 10 tips to Boost Ruby on Rails Application Performance<\/a><\/strong><\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">1) Fragment Caching<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When a Rails web application accepts a request to show a page in the browser, the action controller usually asks the model for the requested data. Then the model fetches the data from the database and passes it back to the controller. Eventually, the controller renders the view to show the data in a human-readable format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The rendering operation can impact loading times when the browser needs to display a lot of data. A good <a href=\"https:\/\/www.botreetechnologies.com\/blog\/best-ruby-on-rails-projects-examples\" target=\"_blank\" rel=\"noreferrer noopener\">Ruby on Rails web application example<\/a> for caching is when showing a list of all available products in an <a href=\"https:\/\/www.botreetechnologies.com\/ecommerce-app-development\" target=\"_blank\" rel=\"noreferrer noopener\">eCommerce store<\/a>. To speed things up, you need to cache part of the returned view. Fragment caching allows you to wrap a part of the view in a block and serve it out of the cache store when the next request comes in. Cache fragments expire when the HTML in the view changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2) Associations Counter Cache<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Associations are the connection between two <a href=\"https:\/\/www.botreetechnologies.com\/blog\/notable-activerecord-changes-in-rails-6-part-3\/\" target=\"_blank\" rel=\"noreferrer noopener\">Rails Active Record<\/a> models. The purpose of associations is to simplify various operations on the record. For example, in an application that displays authors and their books, you have to declare the author\u2019s name for each book. To simplify this operation for cases when the same author has many books, you can use associations to connect between the author and their many books.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The counter caching feature eliminates the need to count associated records in the database every time the page loads. The counter cache keeps a separate counter for each associated object and updates the count whenever you create or remove objects. As a result, you can use a single SQL query for all associated records.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"150\" src=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/RoR-estimate.png\" alt=\"Get Estimate for Ruby on Rails Application\" class=\"wp-image-14971\" srcset=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/RoR-estimate.png 700w, https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2021\/01\/RoR-estimate-300x64.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">3) Image Upload with Active Storage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Active Storage is a built-in Rails 6 gem that handles <a href=\"https:\/\/cloudinary.com\/blog\/automating_file_upload_and_sharing\" target=\"_blank\" rel=\"noreferrer noopener\">file uploads<\/a> to cloud storage services, such as digital asset management systems. Active storage provides a local disk service for development and testing. In addition, the service supports file mirroring for migration and backups. <a href=\"https:\/\/www.botreetechnologies.com\/blog\/rails-5-2-upload-files-to-s3-with-active-storage-rails-5-2-credentials\" target=\"_blank\" rel=\"noreferrer noopener\">Active Storage also attaches uploaded files to Active Record objects<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Active Storage interface can transform image uploads and deliver multiple resolutions and formats for different devices and browsers. Moreover, you can generate representations of non-image uploads like PDFs and videos and extract metadata from files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4) Conditional HTTP Caching<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are many tools to cache HTTP responses. Rails Developers often prefer not to cache all the content they receive on the client-side. Instead, you might prefer to ask the server whether or not a resource has been updated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">HTTP conditional caching enables you to find out if a new version of a resource is available on the server. You can then leverage general conditional caching with dedicated Rails tools to check if a client-side cache is fresh.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ETags<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ETags are a common way to verify an HTTP cache. An ETag represents the state of a specific resource in an HTTP server response header. The verification process consists of two stages. First, you store the initial state of an Etag when you receive a server response. Then, you send another request to the server to find out if the resource has changed since the last request. This request includes the If-None-Match header with the initially stored Etag.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The server compares the current ETag to the one provided by the client-side. If the two ETags match, this means that the cache has not changed. The server responds with a \u201c304 Not Modified\u201d status. If the resource has changed, the server will send a new ETag and the updated response.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Last-Modified Timestamp<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Last-Modified header returns a timestamp of when the resource was last modified. The client can then include the Last-Modified timestamp in an If-Modified-Since header. The server will respond with a value that indicates if the resource was modified since the previous request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Caching with fresh_when<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Rails fresh_when method leverages Etag or a Last-Modified timestamp to find out if a resource has changed. You can attach Last_Modified or Etag to the state of your Ruby on Rails application development.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5) Page Caching<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Page caching is a Rails mechanism that enables the web server to generate a page without going through the entire Rails stack. The HTML page is placed in a public directory and delivered from the web server when you load the page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Page caching was removed from the Rails 4.0 core, but it is still available as a gem. In addition, you can save <a href=\"https:\/\/www.botreetechnologies.com\/blog\/django-asset-compression-and-storages\/\" target=\"_blank\" rel=\"noreferrer noopener\">gzip versions of the cached page<\/a>. The web server can quickly deliver the gzip version instead of engaging with the Rails app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Page caching works well only for static web pages. For custom, dynamic pages, you have to use a client-side header to cache the endpoint and set a proper Vary header. Another option is to increase your cache storage space to store caches from a large number of users.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Ruby on Rails is a popular web development framework. Checkout <a href=\"https:\/\/www.botreetechnologies.com\/blog\/pros-and-cons-of-ruby-on-rails-for-web-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">pros and cons of Ruby on Rails for web development, helping you to make a better choice<\/a>.<\/strong><\/p><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Poor website performance and slow loading time are the main factors of page abandonment. The average user has no patience to wait for a slow page to load. Approximately half of the users expect a web page to load in less than two seconds, and 40% abandon a website that takes more than 3 seconds to load.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These statistics put a lot of pressure on developers. On the one hand, you want to embed advanced functionalities, animations, and pictures to your sites. On the other hand, advanced functionalities slow down your website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the application doesn\u2019t load, you will lose customers like anything. Since Google also focuses on UI\/UX for SEO, your Ruby on Rails app development needs to be quick and engaging for the users. The Ruby on Rails web application tutorial for improving app performance will only help you if you implement them. There are multiple other ways through which you can speed up the application by adding code and <a href=\"https:\/\/www.botreetechnologies.com\/blog\/ruby-on-rails-gems\/\" target=\"_blank\" rel=\"noreferrer noopener\">RubyGems<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.botreetechnologies.com\/hire-ruby-on-rails-developers\">Rails on Rails developers<\/a> have to improve and optimize website performance in order to keep up with user expectations. Hopefully, this list of performance tips can help make your Ruby on Rails app faster and more effective.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.botreetechnologies.com\/ruby-on-rails-development\"><b>Click here for more<\/b> details&#8230;<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/www.botreetechnologies.com\/contact\">Consulting is free<\/a> &#8211; let us help you grow!<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Ruby on Rails, often referred to as Rails, is a&#8230;<\/p>\n","protected":false},"author":9,"featured_media":13341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,10],"tags":[],"class_list":["post-8472","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Improve Ruby on Rails App Development Performance in 5 simple ways<\/title>\n<meta name=\"description\" content=\"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Improve Ruby on Rails App Development Performance in 5 simple ways\" \/>\n<meta property=\"og:description\" content=\"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\" \/>\n<meta property=\"og:site_name\" content=\"BoTree Technologies\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BoTreeTechnologies\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-16T03:26:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-15T11:43:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ankur Vyas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:site\" content=\"@BoTreeTech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ankur Vyas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\"},\"author\":{\"name\":\"Ankur Vyas\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"headline\":\"Improve Ruby on Rails App Development Performance in 5 simple ways\",\"datePublished\":\"2020-01-16T03:26:19+00:00\",\"dateModified\":\"2021-09-15T11:43:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\"},\"wordCount\":1232,\"commentCount\":10,\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png\",\"articleSection\":[\"Ruby on Rails\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\",\"name\":\"Improve Ruby on Rails App Development Performance in 5 simple ways\",\"isPartOf\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png\",\"datePublished\":\"2020-01-16T03:26:19+00:00\",\"dateModified\":\"2021-09-15T11:43:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\"},\"description\":\"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png\",\"width\":960,\"height\":667,\"caption\":\"Improve Web Performance With Rails Application\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.botreetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Improve Ruby on Rails App Development Performance in 5 simple ways\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/\",\"name\":\"BoTree Technologies\",\"description\":\"Committed to inspire generation.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5\",\"name\":\"Ankur Vyas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"url\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"contentUrl\":\"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png\",\"caption\":\"Ankur Vyas\"},\"description\":\"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Improve Ruby on Rails App Development Performance in 5 simple ways","description":"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/","og_locale":"en_US","og_type":"article","og_title":"Improve Ruby on Rails App Development Performance in 5 simple ways","og_description":"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.","og_url":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/","og_site_name":"BoTree Technologies","article_publisher":"https:\/\/www.facebook.com\/BoTreeTechnologies\/","article_published_time":"2020-01-16T03:26:19+00:00","article_modified_time":"2021-09-15T11:43:44+00:00","og_image":[{"width":960,"height":667,"url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png","type":"image\/png"}],"author":"Ankur Vyas","twitter_card":"summary_large_image","twitter_creator":"@BoTreeTech","twitter_site":"@BoTreeTech","twitter_misc":{"Written by":"Ankur Vyas","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#article","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/"},"author":{"name":"Ankur Vyas","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"headline":"Improve Ruby on Rails App Development Performance in 5 simple ways","datePublished":"2020-01-16T03:26:19+00:00","dateModified":"2021-09-15T11:43:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/"},"wordCount":1232,"commentCount":10,"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png","articleSection":["Ruby on Rails","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/","url":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/","name":"Improve Ruby on Rails App Development Performance in 5 simple ways","isPartOf":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage"},"image":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage"},"thumbnailUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png","datePublished":"2020-01-16T03:26:19+00:00","dateModified":"2021-09-15T11:43:44+00:00","author":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5"},"description":"Improve your Ruby on Rails application development performance using these 5 simple ways and take your RoR app development lifecycle to the next level.","breadcrumb":{"@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#primaryimage","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/01\/improve-web-performance-with-rails-application.png","width":960,"height":667,"caption":"Improve Web Performance With Rails Application"},{"@type":"BreadcrumbList","@id":"https:\/\/www.botreetechnologies.com\/blog\/ways-to-improve-web-performance-with-rails\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.botreetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Improve Ruby on Rails App Development Performance in 5 simple ways"}]},{"@type":"WebSite","@id":"https:\/\/www.botreetechnologies.com\/blog\/#website","url":"https:\/\/www.botreetechnologies.com\/blog\/","name":"BoTree Technologies","description":"Committed to inspire generation.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.botreetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.botreetechnologies.com\/blog\/#\/schema\/person\/aa180b4d8d933949f15aba97d8d138a5","name":"Ankur Vyas","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","url":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","contentUrl":"https:\/\/www.botreetechnologies.com\/blog\/wp-content\/uploads\/2020\/10\/ankur-vyas-1-150x150.png","caption":"Ankur Vyas"},"description":"Ankur is a Ruby on Rails Developer and Practice Lead JavaScript. He loves Ruby, JavaScript, reading and writing blogs, problem-solving and taking ownership of work. Apart from coding he likes to listen to songs, gaming and traveling."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/8472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=8472"}],"version-history":[{"count":5,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/8472\/revisions"}],"predecessor-version":[{"id":16227,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/8472\/revisions\/16227"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media\/13341"}],"wp:attachment":[{"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=8472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=8472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.botreetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=8472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}