django-never-cache-post-0.1.1
توضیحات
Ensure that (iOS 6) never caches the result of an ajax POST again.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-never-cache-post-0.1.1 |
| نام | django-never-cache-post |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Incuna Ltd. |
| ایمیل نویسنده | admin@incuna.com |
| آدرس صفحه اصلی | http://github.com/incuna/django-never-cache-post/ |
| آدرس اینترنتی | https://pypi.org/project/django-never-cache-post/ |
| مجوز | UNKNOWN |
django-never-cache-post
=======================
A simple middleware to work around a bug in iOS 6 that caches the results of
$.ajax POST requests inappropriately. (See ["Is Safari on iOS 6 caching $.ajax results?"](http://stackoverflow.com/q/12506897/400691) on Stack Overflow.)
This solution is inspired by [Meilo's answer to "Fighting client-side caching in Django"](http://stackoverflow.com/a/5882033/400691), also on Stack Overflow.
Installation
------------
Install from pypi.
pip install django-never-cache-post
In your settings:
* Add `'never_cache_post'` to `INSTALLED_APPS`.
* Add `'never_cache_post.middleware.NeverCachePostMiddleware'` to `MIDDLEWARE_CLASSES`.
نحوه نصب
نصب پکیج whl django-never-cache-post-0.1.1:
pip install django-never-cache-post-0.1.1.whl
نصب پکیج tar.gz django-never-cache-post-0.1.1:
pip install django-never-cache-post-0.1.1.tar.gz