Re: [Django] #10066: can per-site cache and per-view cache or some low level cache work together?

2015-11-19 Thread Django
#10066: can per-site cache and per-view cache or some low level cache work
together?
---+--
 Reporter:  ubestim|Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Documentation  |  Version:  1.0
 Severity:  Normal |   Resolution:  invalid
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by int-ua):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


Comment:

 I've tried to suggest ways to solve this in
 https://code.djangoproject.com/ticket/25782#ticket

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.cf90c59ff1d5f10e1589216516a95524%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #10066: can per-site cache and per-view cache or some low level cache work together?

2009-01-18 Thread Django
#10066: can per-site cache and per-view cache or some low level cache work
together?
+---
  Reporter:  ubestim| Owner:  nobody
Status:  closed | Milestone:
 Component:  Documentation  |   Version:  1.0   
Resolution:  invalid|  Keywords:
 Stage:  Unreviewed | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by mtredinnick):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Please ask questions like this on the django-users mailing list or in the
 #django IRC channel. This Trac install is only for bug reports. Thanks.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10066: can per-site cache and per-view cache or some low level cache work together?

2009-01-18 Thread Django
#10066: can per-site cache and per-view cache or some low level cache work
together?
---+
 Reporter:  ubestim|   Owner:  nobody
   Status:  new|   Milestone:
Component:  Documentation  | Version:  1.0   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 can per-site cache and per-view cache or some low level cache work
 together?
 my purpose is to cache the whole site for anonymous and cache serveral
 view for registered user only.

 first, i set these in per-site cache in settings.py:
 CACHE_BACKEND = 'memcached://100.13.192.7:11211/'
 CACHE_MIDDLEWARE_SECONDS = 600
 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True

 this means only cache for anonymous.

 then i set some per-view cache as below:
 @cache_page(60 * 15)
 def slashdot_this(request):

 so view of slashdot_this will cache for register user and anonymous.

 am i right?

 If I have added the middleware needed for per-site cache,the cache
 middleware will cache again the data already cached
 by my view?
 Can you give more explanation in cache settings for using one of per-
 persite and per-view/low level and  using them together?

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---