aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/caching_with_rails.md
Commit message (Collapse)AuthorAgeFilesLines
* Cache: Enable compression by default for values > 1kB.Jeremy Daer2017-11-131-2/+2
| | | | | | | | | | | | | Compression has long been available, but opt-in and at a 16kB threshold. It wasn't enabled by default due to CPU cost. Today it's cheap and typical cache data is eminently compressible, such as HTML or JSON fragments. Compression dramatically reduces Memcached/Redis mem usage, which means the same cache servers can store more data, which means higher hit rates. To disable compression, pass `compress: false` to the initializer.
* Built-in Redis cache storeJeremy Daer2017-11-131-0/+47
| | | | | | | | | | | * Supports vanilla Redis, hiredis, and Redis::Distributed. * Supports Memcached-like sharding across Redises with Redis::Distributed. * Fault tolerant. If the Redis server is unavailable, no exceptions are raised. Cache fetches are treated as misses and writes are dropped. * Local cache. Hot in-memory primary cache within block/middleware scope. * `read_/write_multi` support for Redis mget/mset. Use Redis::Distributed 4.0.1+ for distributed mget support. * `delete_matched` support for Redis KEYS globs.
* Upcase js [ci skip]Yauheni Dakuka2017-09-181-2/+2
|
* Merge pull request #29964 from gwincr11/cg-partial-cachingEileen M. Uchitelle2017-08-301-0/+18
|\ | | | | Add documentation about template partial caching
| * Add documentation about template partial cachingCory Gwin @gwincr112017-08-301-3/+21
| | | | | | | | | | | | | | Motivation: - #29423 surfaced some confusion about how template caching works when using partials across files with different mime types. This doc attempts to explain how this can be accomplished.
* | It should be "the resulting cache key", not "the resulting `cache-key`" [ci ↵Ryuta Kamizono2017-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skip] This is a partial revert of 07402aa1307a4ff71b4ef6581f95b8612238a6af. I also changed "cache-key" to "cache key" because "cache-key" appears only once in the repo. ``` % git grep '\bcache-key\b' | wc -l 1 % git grep '\bcache key\b' | wc -l 28 ```
* | Update Caching with Rails guide [ci skip]Yoshiyuki Hirano2017-08-291-3/+3
| |
* | Remove trailing spaces [ci skip]Ryuta Kamizono2017-08-271-3/+3
|/
* Doc cleanup for caching guide [ci skip] (#28556)Vipul A M2017-03-241-4/+4
|
* Additional explanation about cache implementationsbrchristian2017-03-231-1/+7
|
* Fix typo in Caching with Rails Guide [skip ci]Erol Fornoles2017-03-211-1/+1
|
* Improve Caching with Rails Guides [ci skip]James Baer2017-03-171-1/+15
| | | | | | | Adds the "Caching in Development" section to demonstrate usage of the dev:cache task in development mode. Also, makes a small grammatical correction in section 2.4.
* Remove the word "mongrel" from documentsRyunosuke Sato2016-09-071-1/+1
| | | | | | | | | Currently mongrel is not maintained. And it couldn't be built with any Ruby versions that supported by Rails. It is reasonable to remove the word "mongrel" in order to avoid confusion from newcomer.
* Add documentation for `http_cache_forever`. [ci skip]Santosh Wadghule2016-08-101-0/+24
|
* Merge pull request #25928 from mechanicles/info-for-cache-fetch-blockप्रथमेश Sonpatki2016-07-241-1/+1
|\ | | | | Add proper description for `Rails.cache.fetch` [ci skip]
| * Proper description for `Rails.cache.fetch` [ci skip]Santosh Wadghule2016-07-241-1/+1
| |
* | Explain meaning of the code very well and Remove confusion. [ci skip]Santosh Wadghule2016-07-231-4/+4
|/ | | | | | Code like `render(topics) => render("topics/topic")` adds confusion for the readers. On first impression, that code feels like hash kind of data, but it's not. So make it more clear and meaningful.
* `md5` --> `MD5`Jon Moss2016-05-161-3/+3
| | | | [ci skip]
* Fixes for the strong & weak ETags guide [ci skip]Roque Pinel2016-04-071-1/+1
|
* Update documentation based on the new changes for strong & weak ETags [ci skip]Santosh Wadghule2016-04-051-3/+29
| | | | | | | - Update info for weak ETag - Add info for strong ETag - Add examples for strong and weak ETags - Display difference between generated strong and weak ETags strings.
* s/responsibilty/responsibility/Vipul A M2016-03-221-1/+1
| | | | | | s/symantically/semantically/ [ci skip]
* [ci skip] Make collection caching explicit in guides.Kasper Timm Hansen2016-03-031-15/+6
| | | | | | Since f6e4814 was written we've made collection caching explicit. Thus the documentation is outdated and needs a rewrite.
* Updated file documentation [ci skip]Chashmeet Singh2016-02-241-1/+1
|
* changes caching guide to add note on weak etagsAbhishek Yadav2016-02-241-0/+8
|
* ApplicationRecord documentation passGenadi Samokovarov2015-12-171-3/+3
| | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
* Revert "Fixed a few grammar issues."Rafael Mendonça França2015-11-181-1/+1
| | | | | | | This reverts commit 16ce41b7f4449d6df15df30d69aef18da6510f36. Reason: See https://github.com/rails/rails/commit/16ce41b7f4449d6df15df30d69aef18da6510f36#commitcomment-14475125
* Fixed a few grammar issues.David Chen2015-11-181-1/+1
|
* Correctly close a fenced code block [ci skip]Robin Dupret2015-08-031-0/+1
|
* Improve the "Caching with Rails" guide's introduction [ci skip]claudiob2015-08-031-2/+14
|
* Add a section about "Collection caching" [ci skip]Robin Dupret2015-08-031-0/+23
|
* Add a "Managing dependencies" part to the caching guide [ci skip]Robin Dupret2015-07-281-0/+87
|
* Tiny edits to the "Caching with Rails" guideRobin Dupret2015-07-281-49/+32
| | | | | | | | | | | * Fix a few typos * Remove reference to the old `memcache-client` gem * Remove the "ActiveSupport::Cache::EhCacheStore" part from the guide as the gem doesn't seem to be maintained anymore. * Move the "Custom Cache Stores" part under the "AS::Cache::Store" part as they are pretty related. [ci skip]
* Merge pull request #20736 from antoine-lizee/docsRobin Dupret2015-07-131-0/+5
|\ | | | | [ci skip] docs: making clear that perform_caching has a limited impact
| * [ci skip] doc: making clear that perform_caching has a limited impactantoine.lizee2015-07-131-0/+5
| |
* | fix typo in caching guide [ci skip]Anton Chuchkalov2015-07-121-1/+1
|/
* Tiny documentation fixes [ci skip]Robin Dupret2015-06-181-7/+9
|
* updates caching guide to reflect current Rails capabilities [ci skip]Thomas Osborn2015-06-171-77/+107
|
* Fix style/grammar/typos in Caching guide.Tim Wade2015-04-291-11/+11
| | | | | * avoid using unnecessary commas * fix some typos
* Guides mistake about page caching.Yury Otcheski2015-02-271-1/+1
| | | | DHH's key-based cache expiration isn't alternative to page caching. It's true about action caching but not page caching. I propose to remove this line as confusing, page caching is still best if applicable. [ci skip]
* Merge pull request #18503 from vipulnsward/guides-in-onXavier Noria2015-01-141-1/+1
|\ | | | | Changed `IN` to `ON` in markdown renderer condition
| * - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | | | | | - Changed `IN` to `ON` in all note sentences in guides.
* | Re-add section in SQL CachingJose Luis Duran2015-01-111-0/+4
|/ | | | | | This section was accidentally removed in 4b5e424441149cf0f61a8182f4a92999577ce59a, and partially re-added in dc14b893e5904acb37ac327478f3880f33094b7a. [ci skip]
* Update grammar [ci skip]Elaine Fang2014-12-241-1/+1
|
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Update caching_with_rails.md [ci skip]Harshad Sabne2014-08-311-1/+1
| | | Highlight methods
* Remove more references to respond_withJosé Valim2014-08-171-1/+6
|
* correct markdown usage [ci skip]Nishant Modak2014-07-091-1/+1
|
* [ci skip] Fix capitalizationAkshay Vishnoi2014-06-071-1/+1
|
* remove trailing whitespace. [ci skip]Yves Senn2014-05-171-1/+1
|
* Change links to 37signals and svn blog to point to new destinations. [ci skip]Vipul A M2014-04-121-2/+2
|