Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unecessary config_accessors. | José Valim | 2011-12-24 | 1 | -3/+3 |
| | |||||
* | Provide a class optin for page_cache_compression. | José Valim | 2011-12-24 | 1 | -17/+20 |
| | |||||
* | Gzip files on page caching | Andrey A.I. Sitnik | 2011-12-24 | 1 | -4/+28 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allowing string as url argument for expire_action | Thomas von Deyen | 2011-12-06 | 1 | -3/+2 |
| | |||||
* | this should never return nil, so no use for "try" | Aaron Patterson | 2011-10-31 | 1 | -1/+1 |
| | |||||
* | Ensure that the format isn't applied twice to the cache key, else it becomes ↵ | Christopher Meiklejohn | 2011-10-31 | 1 | -1/+1 |
| | | | | impossible to target with expire_action. | ||||
* | Remove unnecessary dup in expire_page | Alexey Vakhov | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | if ... nil? is more expensive than unless | Milan Dobrota | 2011-09-04 | 1 | -1/+1 |
| | |||||
* | Typo fix | Oge Nnadi | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | find(:all) => all | Akira Matsuda | 2011-07-08 | 1 | -2/+2 |
| | |||||
* | clarify which url would be used to cache a page when options are not ↵ | Matt Jankowski | 2011-06-26 | 1 | -2/+2 |
| | | | | provided to #cache_page to determine that url | ||||
* | elaborate on how web server configuration to check for static files on disk ↵ | Matt Jankowski | 2011-06-26 | 1 | -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 Jacobs | 2011-06-21 | 1 | -0/+1 |
| | | | | | | controller object It would raise undefined method controller_name for nil | ||||
* | remove warning: assigned but unused variable | Santiago Pastorino | 2011-06-08 | 1 | -1/+0 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -2/+2 |
| | |||||
* | Proc objects for cache_path for caches_action no longer need controller ↵ | Ryan Bigg | 2011-03-26 | 1 | -7/+6 |
| | | | | object, nor to use send when calling routing helpers | ||||
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Fix Action caching bug where an action that has a non-cacheable response ↵ | Cheah Chu Yeow | 2011-03-02 | 1 | -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 Pathname | Andre Arko | 2011-02-06 | 1 | -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 sense | Santiago Pastorino | 2011-01-11 | 1 | -1/+1 |
| | |||||
* | Edits to caching/fragments. | Rizwan Reza | 2010-12-23 | 1 | -17/+39 |
| | |||||
* | Remove require AS::Concern from places where is already in | Santiago Pastorino | 2010-12-19 | 1 | -1/+0 |
| | |||||
* | Add missing require | Santiago Pastorino | 2010-12-19 | 1 | -0/+1 |
| | |||||
* | Ensure that while caching a page rails takes into | Neeraj Singh | 2010-12-09 | 1 | -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 rdoc | Xavier Noria | 2010-12-08 | 1 | -32/+41 |
| | |||||
* | Add to documentation that action caching does | Neeraj Singh | 2010-12-06 | 1 | -0/+5 |
| | | | | | | handle HTTP_ACCEPT attribute properly and might provide wrong result. Use params[:format] to avoid this issue. | ||||
* | AC::Caching DRYup | Krekoten' Marjan | 2010-10-18 | 1 | -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 Tagua | 2010-09-28 | 2 | -10/+2 |
| | |||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 2 | -5/+4 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 2 | -2/+10 |
| | |||||
* | Escape 'caching' when used in a sentence; remove unnessesary quotes | Joost Baaij | 2010-08-26 | 2 | -10/+10 |
| | |||||
* | cache_sweeper yields blank output | Neeraj Singh | 2010-06-08 | 1 | -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 George | 2010-05-02 | 2 | -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 Singh | 2010-04-29 | 1 | -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é Valim | 2010-04-22 | 1 | -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 compatible | Santiago Pastorino and Carl Lerche | 2010-04-15 | 1 | -9/+9 |
| | |||||
* | Make use of config.perform_caching | Santiago Pastorino | 2010-04-14 | 1 | -5/+5 |
| | |||||
* | Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in ↵ | Anil Wadghule | 2010-04-12 | 1 | -1/+1 |
| | | | | significant places. | ||||
* | Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵ | José Valim | 2010-04-08 | 1 | -2/+2 |
| | | | | started in another directory which is not the RAILS_ROOT. | ||||
* | response_body is an Array in 1.9, so an Array was being pushed onto the cache | wycats | 2010-03-19 | 1 | -0/+2 |
| | |||||
* | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 1 | -19/+0 |
| | |||||
* | Remove caching's dependency on view_context. Also, make it so that the ↵ | Carlhuda | 2010-03-18 | 1 | -10/+14 |
| | | | | layout is always rendered the same way (so that layout dependencies on the action actually being rendered aren't masked on the first render) | ||||
* | @layout is a confusing name... use @cache_layout | Carlhuda | 2010-03-18 | 1 | -3/+3 |
| | |||||
* | Some more tweaks on <% %>. | Carlhuda | 2010-03-16 | 1 | -2/+1 |
| | | | | * The cache helper is now semantically "mark this region for caching" * As a result, <% x = cache do %> no longer works | ||||
* | RJS may cache an array | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | Add deprecation notices for <% %>. | Carlhuda | 2010-03-15 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | * The approach is to compile <% %> into a method call that checks whether the value returned from a block is a String. If it is, it concats to the buffer and prints a deprecation warning. * <%= %> uses exactly the same logic to compile the template, which first checks to see whether it's compiling a block. * This should have no impact on other uses of block in templates. For instance, in <% [1,2,3].each do |i| %><%= i %><% end %>, the call to each returns an Array, not a String, so the result is not concatenated * In two cases (#capture and #cache), a String can be returned that should *never* be concatenated. We have temporarily created a String subclass called NonConcattingString which behaves (and is serialized) identically to String, but is not concatenated by the code that handles deprecated <% %> block helpers. Once we remove support for <% %> block helpers, we can remove NonConcattingString. | ||||
* | to_str works here | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | read_ and write_fragment cache preserve html safety yet cache strings only | Jeremy Kemper | 2010-03-14 | 1 | -6/+6 |
| | |||||
* | Write strings to fragment cache, not outputbuffers | Jeremy Kemper | 2010-03-11 | 1 | -1/+3 |
| | |||||
* | skip_relative_url_root url_for option is dead | Joshua Peek | 2010-03-09 | 1 | -3/+3 |
| |