aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching
Commit message (Collapse)AuthorAgeFilesLines
* Removing ==Examples and last blank lines of docs from actionpackFrancesco Rodriguez2012-05-151-6/+8
|
* added proc evaluation for action cache's layout parameterNico2012-05-021-2/+4
|
* prevent the cache sweeper ignores NoMethodErrorayaya2012-03-291-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-272-2/+2
|\
| * Proc objects for caches_page no need controller objectAlexey Vakhov2012-03-271-1/+1
| |
| * Fix AC actions caching commentAlexey Vakhov2012-03-241-1/+1
| |
* | ActionController caching small String#split optimizationAlexey Vakhov2012-03-241-2/+2
|/
* fixed - warning: instance variable @controller not initializedSandeep2012-03-161-0/+5
|
* Don't ignore call to undefined method in SweeperLevente Bagi2012-03-061-1/+1
|
* Rack body respond to each and not to joinSantiago Pastorino2012-02-141-2/+4
| | | | | | | This fixes undef `to_str' for Rack::Chunked::Body when using caches_action + streaming on an action Closes #5027
* Updates documentaton to indicate that :expires_in can be used with all cache ↵dev2012-01-261-1/+2
| | | | stores.
* Changed 'proc' to 'Proc.new' in ActionController::Caching::Actions descriptionAlejandro Andrés2012-01-121-2/+2
|
* Remove unecessary config_accessors.José Valim2011-12-241-3/+3
|
* Provide a class optin for page_cache_compression.José Valim2011-12-241-17/+20
|
* Gzip files on page cachingAndrey A.I. Sitnik2011-12-241-4/+28
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Allowing string as url argument for expire_actionThomas von Deyen2011-12-061-3/+2
|
* this should never return nil, so no use for "try"Aaron Patterson2011-10-311-1/+1
|
* Ensure that the format isn't applied twice to the cache key, else it becomes ↵Christopher Meiklejohn2011-10-311-1/+1
| | | | impossible to target with expire_action.
* Remove unnecessary dup in expire_pageAlexey Vakhov2011-10-081-1/+1
|
* if ... nil? is more expensive than unlessMilan Dobrota2011-09-041-1/+1
|
* Typo fixOge Nnadi2011-08-131-1/+1
|
* find(:all) => allAkira Matsuda2011-07-081-2/+2
|
* clarify which url would be used to cache a page when options are not ↵Matt Jankowski2011-06-261-2/+2
| | | | provided to #cache_page to determine that url
* elaborate on how web server configuration to check for static files on disk ↵Matt Jankowski2011-06-261-3/+4
| | | | enables page caching to work without hitting the app server stack
* Fixes an issue where cache sweepers with only after filters would have no ↵Jeroen Jacobs2011-06-211-0/+1
| | | | | | controller object It would raise undefined method controller_name for nil
* remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+0
|
* Remove extra white spaces on ActionPack docs.Sebastian Martinez2011-05-231-2/+2
|
* Proc objects for cache_path for caches_action no longer need controller ↵Ryan Bigg2011-03-261-7/+6
| | | | object, nor to use send when calling routing helpers
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|
* Fix Action caching bug where an action that has a non-cacheable response ↵Cheah Chu Yeow2011-03-021-3/+5
| | | | | | | | | | always renders a nil response body. It now correctly renders the response body. Note that only GET and HTTP 200 responses can be cached. [#6480 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Allow page_cache_directory to be set as a PathnameAndre Arko2011-02-061-1/+1
| | | | | | For example, page_cache_directory = Rails.root.join("public/cache") Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* html_safe.to_str makes no senseSantiago Pastorino2011-01-111-1/+1
|
* Edits to caching/fragments.Rizwan Reza2010-12-231-17/+39
|
* Remove require AS::Concern from places where is already inSantiago Pastorino2010-12-191-1/+0
|
* Add missing requireSantiago Pastorino2010-12-191-0/+1
|
* Ensure that while caching a page rails takes intoNeeraj Singh2010-12-091-7/+13
| | | | | | | | account the resolved mime type for the request [#6110 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* makes a pass to the action caching rdocXavier Noria2010-12-081-32/+41
|
* Add to documentation that action caching doesNeeraj Singh2010-12-061-0/+5
| | | | | | handle HTTP_ACCEPT attribute properly and might provide wrong result. Use params[:format] to avoid this issue.
* AC::Caching DRYupKrekoten' Marjan2010-10-181-5/+1
| | | | | | | Remove ActionController::Caching::Pages#caching_allowed because it duplicates ActionController::Caching#caching_allowed? Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-282-10/+2
|
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-272-5/+4
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-272-2/+10
|
* Escape 'caching' when used in a sentence; remove unnessesary quotesJoost Baaij2010-08-262-10/+10
|
* cache_sweeper yields blank outputNeeraj Singh2010-06-081-0/+1
| | | | | | [#3914 state:open] Signed-off-by: José Valim <jose.valim@gmail.com>
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-022-2/+2
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* ActionCachingTestController rescues from all exceptions. Making sure that ↵Neeraj Singh2010-04-291-1/+1
| | | | | | all the tests check for valid response. [#4468 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-221-4/+4
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* Make perform_caching work again, with the tests passing and backward compatibleSantiago Pastorino and Carl Lerche2010-04-151-9/+9
|
* Make use of config.perform_cachingSantiago Pastorino2010-04-141-5/+5
|
* Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in ↵Anil Wadghule2010-04-121-1/+1
| | | | significant places.