aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/caching
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14137 from dasch/better-fragment-cache-instrumentationRafael Mendonça França2014-05-141-1/+7
|\ | | | | | | | | | | | | Add controller and action name to the fragment caching instrumentation payload Conflicts: actionpack/CHANGELOG.md
| * Add controller and action name to the instrumentation payloadDaniel Schierbeck2014-05-101-1/+7
|/
* Remove observers and sweepersRafael Mendonça França2012-11-281-116/+0
| | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik]
* extract AP Page and Action caching to actionpack-deprecated_caching gemFrancesco Rodriguez2012-10-032-391/+0
|
* update AC::Caching documentation [ci skip]Francesco Rodriguez2012-09-224-82/+98
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-091-1/+1
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * Doc: sweepers only work on Active Record Modelsschneems2012-09-051-1/+1
| | | | | | In response to this rails issue: https://github.com/rails/rails/issues/3729
* | AS::Callbacks: deprecate monkey patch of object callbacksBogdan Gusiev2012-09-071-1/+1
|/
* Modernize the documentation for view caching somewhatDavid Heinemeier Hansson2012-08-081-37/+7
|
* Clean up Sweeper controller accessor when an Error is raisedBrian John2012-07-201-2/+7
|
* AS::Callbacks: deprecate monkey patch codeBogdan Gusiev2012-06-261-0/+6
| | | | | Deprecate usage of filter object with #before and #after methods as around callback
* Symbol responds_to :upcase & :downcase in Ruby >= 1.9Akira Matsuda2012-06-061-1/+1
|
* Escape the extension when normalizing the action cache path.Andrew White2012-05-201-2/+3
| | | | | | | | | Although no recognized formats use non-ASCII characters, sometimes they can be included in the :format parameter because of invalid URLS. To prevent encoding incompatibility errors we need to escape them before passing the path to URI.unescape. Closes #4379
* 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
|