Thanks Jason

Yingi Kem

> On 8 Apr 2018, at 4:19 PM, Jason <jjohns98...@gmail.com> wrote:
> 
> Browsers cache images, js and css, but not the actual data that's rendered.  
> In addition, browser caching only works for repeat visitors to your site.  
> Using server side caching complements browser side caching but also works for 
> first time visitors.
> 
>> On Sunday, April 8, 2018 at 10:49:07 AM UTC-4, yingi keme wrote:
>> I Have set up cache in my File System and I have used the following code to 
>> cache my view
>> 
>> from django.views.decorators.cache import cache_page
>> 
>> @cache_page(60 * 15)
>> def myView(request):
>>     #some code
>> 
>> 
>> What i want to know is that, How is this caching mechanism different from 
>> the automatic caching some browsers provide?
>> 
>> Browsers usually do cache web apps, so what difference will this manual 
>> caching configuration make?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/9787aa43-5b35-446d-85a1-4609c6b38c5b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8C8EE3BF-D3E3-4947-A0E0-D2C51F098138%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to