Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cache: Enable compression by default for values > 1kB. | Jeremy Daer | 2017-11-13 | 1 | -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 store | Jeremy Daer | 2017-11-13 | 1 | -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 Dakuka | 2017-09-18 | 1 | -2/+2 |
| | |||||
* | Merge pull request #29964 from gwincr11/cg-partial-caching | Eileen M. Uchitelle | 2017-08-30 | 1 | -0/+18 |
|\ | | | | | Add documentation about template partial caching | ||||
| * | Add documentation about template partial caching | Cory Gwin @gwincr11 | 2017-08-30 | 1 | -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 Kamizono | 2017-08-29 | 1 | -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 Hirano | 2017-08-29 | 1 | -3/+3 |
| | | |||||
* | | Remove trailing spaces [ci skip] | Ryuta Kamizono | 2017-08-27 | 1 | -3/+3 |
|/ | |||||
* | Doc cleanup for caching guide [ci skip] (#28556) | Vipul A M | 2017-03-24 | 1 | -4/+4 |
| | |||||
* | Additional explanation about cache implementations | brchristian | 2017-03-23 | 1 | -1/+7 |
| | |||||
* | Fix typo in Caching with Rails Guide [skip ci] | Erol Fornoles | 2017-03-21 | 1 | -1/+1 |
| | |||||
* | Improve Caching with Rails Guides [ci skip] | James Baer | 2017-03-17 | 1 | -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 documents | Ryunosuke Sato | 2016-09-07 | 1 | -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 Wadghule | 2016-08-10 | 1 | -0/+24 |
| | |||||
* | Merge pull request #25928 from mechanicles/info-for-cache-fetch-block | प्रथमेश Sonpatki | 2016-07-24 | 1 | -1/+1 |
|\ | | | | | Add proper description for `Rails.cache.fetch` [ci skip] | ||||
| * | Proper description for `Rails.cache.fetch` [ci skip] | Santosh Wadghule | 2016-07-24 | 1 | -1/+1 |
| | | |||||
* | | Explain meaning of the code very well and Remove confusion. [ci skip] | Santosh Wadghule | 2016-07-23 | 1 | -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 Moss | 2016-05-16 | 1 | -3/+3 |
| | | | | [ci skip] | ||||
* | Fixes for the strong & weak ETags guide [ci skip] | Roque Pinel | 2016-04-07 | 1 | -1/+1 |
| | |||||
* | Update documentation based on the new changes for strong & weak ETags [ci skip] | Santosh Wadghule | 2016-04-05 | 1 | -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 M | 2016-03-22 | 1 | -1/+1 |
| | | | | | | s/symantically/semantically/ [ci skip] | ||||
* | [ci skip] Make collection caching explicit in guides. | Kasper Timm Hansen | 2016-03-03 | 1 | -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 Singh | 2016-02-24 | 1 | -1/+1 |
| | |||||
* | changes caching guide to add note on weak etags | Abhishek Yadav | 2016-02-24 | 1 | -0/+8 |
| | |||||
* | ApplicationRecord documentation pass | Genadi Samokovarov | 2015-12-17 | 1 | -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ça | 2015-11-18 | 1 | -1/+1 |
| | | | | | | | This reverts commit 16ce41b7f4449d6df15df30d69aef18da6510f36. Reason: See https://github.com/rails/rails/commit/16ce41b7f4449d6df15df30d69aef18da6510f36#commitcomment-14475125 | ||||
* | Fixed a few grammar issues. | David Chen | 2015-11-18 | 1 | -1/+1 |
| | |||||
* | Correctly close a fenced code block [ci skip] | Robin Dupret | 2015-08-03 | 1 | -0/+1 |
| | |||||
* | Improve the "Caching with Rails" guide's introduction [ci skip] | claudiob | 2015-08-03 | 1 | -2/+14 |
| | |||||
* | Add a section about "Collection caching" [ci skip] | Robin Dupret | 2015-08-03 | 1 | -0/+23 |
| | |||||
* | Add a "Managing dependencies" part to the caching guide [ci skip] | Robin Dupret | 2015-07-28 | 1 | -0/+87 |
| | |||||
* | Tiny edits to the "Caching with Rails" guide | Robin Dupret | 2015-07-28 | 1 | -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/docs | Robin Dupret | 2015-07-13 | 1 | -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 impact | antoine.lizee | 2015-07-13 | 1 | -0/+5 |
| | | |||||
* | | fix typo in caching guide [ci skip] | Anton Chuchkalov | 2015-07-12 | 1 | -1/+1 |
|/ | |||||
* | Tiny documentation fixes [ci skip] | Robin Dupret | 2015-06-18 | 1 | -7/+9 |
| | |||||
* | updates caching guide to reflect current Rails capabilities [ci skip] | Thomas Osborn | 2015-06-17 | 1 | -77/+107 |
| | |||||
* | Fix style/grammar/typos in Caching guide. | Tim Wade | 2015-04-29 | 1 | -11/+11 |
| | | | | | * avoid using unnecessary commas * fix some typos | ||||
* | Guides mistake about page caching. | Yury Otcheski | 2015-02-27 | 1 | -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-on | Xavier Noria | 2015-01-14 | 1 | -1/+1 |
|\ | | | | | Changed `IN` to `ON` in markdown renderer condition | ||||
| * | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | | Re-add section in SQL Caching | Jose Luis Duran | 2015-01-11 | 1 | -0/+4 |
|/ | | | | | | This section was accidentally removed in 4b5e424441149cf0f61a8182f4a92999577ce59a, and partially re-added in dc14b893e5904acb37ac327478f3880f33094b7a. [ci skip] | ||||
* | Update grammar [ci skip] | Elaine Fang | 2014-12-24 | 1 | -1/+1 |
| | |||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Update caching_with_rails.md [ci skip] | Harshad Sabne | 2014-08-31 | 1 | -1/+1 |
| | | | Highlight methods | ||||
* | Remove more references to respond_with | José Valim | 2014-08-17 | 1 | -1/+6 |
| | |||||
* | correct markdown usage [ci skip] | Nishant Modak | 2014-07-09 | 1 | -1/+1 |
| | |||||
* | [ci skip] Fix capitalization | Akshay Vishnoi | 2014-06-07 | 1 | -1/+1 |
| | |||||
* | remove trailing whitespace. [ci skip] | Yves Senn | 2014-05-17 | 1 | -1/+1 |
| | |||||
* | Change links to 37signals and svn blog to point to new destinations. [ci skip] | Vipul A M | 2014-04-12 | 1 | -2/+2 |
| |