K
K
Koi Com2017-03-26 15:41:18
Python
Koi Com, 2017-03-26 15:41:18

How to force the browser to cache only part of the HTML page?

I write my website in python and django. The template has a part of the markup that is rarely updated. How and by what means to force the browser to cache only the part that is not updated? Nothing is cached at the moment.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
romy4, 2017-03-26
@romy4

the browser doesn't do that
you can cache partially on the server side the
browser caches either the entire page or nothing. if a framework with a template engine, then split the page into parts and cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question