This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Ensure that (iOS 6) never caches the result of an ajax POST again.

Project Description

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.
Release History

Release History

This version
History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-never-cache-post-0.1.1.tar.gz (1.6 kB) Copy SHA256 Checksum SHA256 Source Nov 5, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting