{ "info": { "author": "Drew Engelson", "author_email": "drew@engelson.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "django-beefycachecontrol\n========================\n\ndjango-beefycachecontrol is a Django middleware that smacks misbehaving upstream caches into submission with beefier anti-cache HTTP headers.\n\nNormally, when a view is decorated with @never_cache::\n\n @never_cache\n def my_view(request):\n ...\n\nThe resulting HTTP headers (among other things) include::\n\n Cache-Control\tmax-age=0\n\nWhile this should be sufficient to prevent the response from being cached upstream, but there may be circumstances where this is not enough. Enter django-beefiercachecontrol!\n\nWith BeefyCacheControlMiddleware enabled, these HTTP headers become::\n\n Cache-Control\tmax-age=0, no-cache, no-store\n\nCache that and you'd be arrested by the internet cops!\n\n\nInstallation\n************\n\n1. ``easy_install django-beefycachecontrol`` or ``pip install django-beefycachecontrol``\n\n2. Add ``beefycachecontrol`` to your ``INSTALLED_APPS``\n\n3. In settings.py add ``'beefycachecontrol.middleware.BeefyCacheControlMiddleware'`` to ``MIDDLEWARE_CLASSES``\n\n\nUsage\n******\ndjango-beefycachecontrol is a middleware. Once it is enabled, there is nothing more to do. It simply fixes up your no-cache related HTTP headers.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/tomatohater/django-beefycachecontrol", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-beefycachecontrol", "package_url": "https://pypi.org/project/django-beefycachecontrol/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-beefycachecontrol/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/tomatohater/django-beefycachecontrol" }, "release_url": "https://pypi.org/project/django-beefycachecontrol/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Beefier Cache-Control HTTP headers created by @never_cache decorator in Django.", "version": "0.2.1" }, "last_serial": 745884, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "68eefd8b6cf326df03dc130d40bd9c6b", "sha256": "21d207466497657c3c897714a5cb4bd5f3c41d788145ecf7a43ef52d7e35684c" }, "downloads": -1, "filename": "django-beefycachecontrol-0.2.tar.gz", "has_sig": false, "md5_digest": "68eefd8b6cf326df03dc130d40bd9c6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2815, "upload_time": "2011-08-18T15:21:26", "url": "https://files.pythonhosted.org/packages/e4/41/39c4db4f60ae671e23d1e4a7cf7beb7c3240c0043a7d99c2311112c3a222/django-beefycachecontrol-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "9f9c8f2a4810fa16aba5c1b3ca37d25f", "sha256": "b82750cdf9b667e96c641530deccc4769e5d42a6fa064e06d17385e370b57d4d" }, "downloads": -1, "filename": "django-beefycachecontrol-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9f9c8f2a4810fa16aba5c1b3ca37d25f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2908, "upload_time": "2011-08-20T22:29:44", "url": "https://files.pythonhosted.org/packages/c3/af/668c5388a07c427b3339a021000f8b8a25e9d454bda188856a135f5b6ed0/django-beefycachecontrol-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f9c8f2a4810fa16aba5c1b3ca37d25f", "sha256": "b82750cdf9b667e96c641530deccc4769e5d42a6fa064e06d17385e370b57d4d" }, "downloads": -1, "filename": "django-beefycachecontrol-0.2.1.tar.gz", "has_sig": false, "md5_digest": "9f9c8f2a4810fa16aba5c1b3ca37d25f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2908, "upload_time": "2011-08-20T22:29:44", "url": "https://files.pythonhosted.org/packages/c3/af/668c5388a07c427b3339a021000f8b8a25e9d454bda188856a135f5b6ed0/django-beefycachecontrol-0.2.1.tar.gz" } ] }