{
"info": {
"author": "Israel Flores",
"author_email": "jobs@israelfl.com",
"bugtrack_url": null,
"classifiers": [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Logging"
],
"description": "flask-cachebuster\n========================================\n\nFlask-CacheBuster is a lightweight http://flask.pocoo.org/ extension that adds a hash to the URL query parameters of each static file. This lets you safely declare your static resources as indefinitely cacheable because they automatically get new URLs when their contents change.\n\nNotes:\n=========\nInspired by https://github.com/ChrisTM/Flask-CacheBust, and an updated version of https://github.com/daxlab/Flask-Cache-Buster to work with python 3.+\n\nInstallation\n============\n\nUsing pip::\n\n pip install flask-cachebuster\n\nUsage\n----------\nConfiguration::\n\n\n from flask_cachebuster import CacheBuster\n\n config = { 'extensions': ['.js', '.css', '.csv'], 'hash_size': 5 }\n\n cache_buster = CacheBuster(config=config)\n\n cache_buster.init_app(app)\n\nConfiguration\n-------------------\n\nConfiguration::\n\n* extensions - file extensions to bust\n* hash_size - looks something like this `/static/index.css%3Fq3` where [%3Fq3] is the hash size.\n\nThe http://flask.pocoo.org/docs/0.12/api/#flask.url_for function will now cache-bust your static files. For example, this template::\n\n\n\nwill render like this::\n\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/israel-fl/Flask-CacheBuster",
"keywords": "",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "Flask-CacheBuster",
"package_url": "https://pypi.org/project/Flask-CacheBuster/",
"platform": "",
"project_url": "https://pypi.org/project/Flask-CacheBuster/",
"project_urls": {
"Homepage": "https://github.com/israel-fl/Flask-CacheBuster"
},
"release_url": "https://pypi.org/project/Flask-CacheBuster/1.0.0/",
"requires_dist": null,
"requires_python": "",
"summary": "Flask-CacheBuster is a lightweight Flask extension that adds a hash to the URL query parameters of each static file.",
"version": "1.0.0"
},
"last_serial": 3774847,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "d91e0f144745e2c90b680f002ac862e9",
"sha256": "0c8d7b57db8953f5c5875153f16cb970c2ed5a681b39326613c822f0c9764ec8"
},
"downloads": -1,
"filename": "Flask-CacheBuster-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "d91e0f144745e2c90b680f002ac862e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3092,
"upload_time": "2018-04-17T21:25:31",
"url": "https://files.pythonhosted.org/packages/74/47/f3e1fedfaad965c81c2f17234636d72f71450f1b4522ca26d2b7eb4a0a74/Flask-CacheBuster-1.0.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d91e0f144745e2c90b680f002ac862e9",
"sha256": "0c8d7b57db8953f5c5875153f16cb970c2ed5a681b39326613c822f0c9764ec8"
},
"downloads": -1,
"filename": "Flask-CacheBuster-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "d91e0f144745e2c90b680f002ac862e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3092,
"upload_time": "2018-04-17T21:25:31",
"url": "https://files.pythonhosted.org/packages/74/47/f3e1fedfaad965c81c2f17234636d72f71450f1b4522ca26d2b7eb4a0a74/Flask-CacheBuster-1.0.0.tar.gz"
}
]
}