A few types of caching to know :
- Page Caching: Save entire pages of an application without hitting the stack by returning cached pre-rendered pages. Good in applications without authentication and other highly dynamic aspects.
- Fragment Caching: Allows fragments of view logic, for example partials or other bits of HTML that are independent from other parts, to be wrapped in a cache block and served out of the cache store when the next request comes in.
- Action Caching: Works like Page Caching, except the incoming web request hits the Rails stack. This means that before filters (like authentication or other restrictions) can be run on it before the cache is served.
- Rails.cache: All cached content except cached pages are stored in the Rails.cache.
- HTTP Caching: HTTP caching occurs when the browser stores local copies of web resources for faster retrieval the next time the resource is required. It uses HTTP headers to determine if the browser can use a locally stored version of the response or if it needs to request a fresh copy from the server.
1 comment:
Thank You for sharing lots of useful information with us this is really helpful and your post is really appreciated. Find the ruby on rails jaipur.
I would suggest some other related.
shopify experts
ecommerce development company
web development services
website design company
Ecommerce website development company
Magento Development Company
Drupal Expert
Uber clone app script
Drupal development company
custom ecommerce development
android application development
iphone app development company
CMS solutions company
Mobile app development company
Wordpress development Company
Post a Comment