aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/caching_with_rails.md
Commit message (Collapse)AuthorAgeFilesLines
* Updated links from http to https in guides, docs, etcAbhay Nikam2019-03-091-1/+1
|
* Changed webserver to web server.alkesh262019-01-221-2/+2
|
* Use cache_key_with_version instead of cache_key for the example in Low-Level ↵tnantoka2018-11-261-1/+1
| | | | Caching [ci skip]
* Replace cache_key with cache_key_with_version on caching_with_rails guides ↵tnantoka2018-11-161-3/+3
| | | | [ci skip]
* Updates expires_in docsGraham Turner2018-09-281-2/+2
| | | | | | Previously the documentation for expires_in suggested that the option was available for all cache stores. This clarifies that the behavior can be supported, but is not always supported.
* Merge pull request #33229 from ↵Matthew Draper2018-07-251-3/+3
|\ | | | | | | | | albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails Prefer rails command over bin/rails
| * Substitute references to task for commandAlberto Almagro2018-07-061-1/+1
| | | | | | | | This commit substitutes references to rails/rake task for rails command
| * Recommend use of rails over bin/railsAlberto Almagro2018-07-061-2/+2
| | | | | | | | | | | | | | | | | | As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together.
* | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
|/ | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-1/+1
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Update Redis cache store docsStefan Wrobel2018-03-171-14/+34
|
* Document :reconnect_attempts option for Redis Cache Store [ci skip]Brian Kephart2018-02-171-3/+8
|
* Use SHA-1 for non-sensitive digests by defaultEugene Kenny2018-01-081-3/+3
| | | | | | Instead of providing a configuration option to set the hash function, switch to SHA-1 for new apps and allow upgrading apps to opt in later via `new_framework_defaults_5_2.rb`.
* Cosmetic changes [ci skip]Yauheni Dakuka2017-11-301-1/+1
|
* 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
|