#15144: Max age set in cache control no longer obeys timeout set with 
@cache_page
decorator
-----------------------------------+----------------------------------------
          Reporter:  jsdalton      |         Owner:  nobody             
            Status:  new           |     Milestone:  1.3                
         Component:  Cache system  |       Version:  SVN                
        Resolution:                |      Keywords:  blocker, regression
             Stage:  Unreviewed    |     Has_patch:  0                  
        Needs_docs:  0             |   Needs_tests:  0                  
Needs_better_patch:  0             |  
-----------------------------------+----------------------------------------
Changes (by russellm):

  * keywords:  => blocker, regression
  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I'm a little uncertain as to the exact use case where you are seeing this
 problem. Yes, the code has been changed to set self.cache_timeout =
 self.cache.default_timeout, but that default timeout should be the value
 that has been passed into the cache backend.

 Can you reduce this to a relatively simple test case that demonstrates
 when the wrong value is being used?

 Marking as a blocker, regression because if true, this is something that
 needs to be fixed before release; however, we need more detail before we
 can confirm.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15144#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to