You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no cache headers set on the search results so the browser and caching layers could serve stale results, or do repeated calls for same term.
This can be worked around with some decorators in the urls.py or solved upstream but it feel like an oversight to have nothing in here. Maybe this should be configurable; depending on where you use this functionality you may want some or zero caching.
Note the admin (using django 1.9) sets Cache-Control: max-age=0, must-revalidate, no-store, no-cache; on it's own HTML output.
The text was updated successfully, but these errors were encountered:
There are no cache headers set on the search results so the browser and
caching layers could serve stale results, or do repeated calls for same
term.
This can be worked around with some decorators in the urls.py or solved
upstream but it feel like an oversight to have nothing in here. Maybe this
should be configurable; depending on where you use this functionality you
may want some or zero caching.
Note the admin (using django 1.9) sets Cache-Control: max-age=0,
must-revalidate, no-store, no-cache; on it's own HTML output.
There are no cache headers set on the search results so the browser and caching layers could serve stale results, or do repeated calls for same term.
This can be worked around with some decorators in the urls.py or solved upstream but it feel like an oversight to have nothing in here. Maybe this should be configurable; depending on where you use this functionality you may want some or zero caching.
Note the admin (using django 1.9) sets
Cache-Control: max-age=0, must-revalidate, no-store, no-cache;
on it's own HTML output.The text was updated successfully, but these errors were encountered: