{ "info": { "author": "Tim Savannah", "author_email": "kata198@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup :: HTML" ], "description": "cachebust\n=========\n\n\nCachebust provides a server-side means to ensure that clients always fetch assets when they are updated on the server.\n\n\nMany browsers have different means of caching, some will overcache, and using the HTTP cache headers, there's always a chance you may need to update within the lifetime of the previous scripts.\n\n\ncachebust provides a means to ensure that all assets are fetched by browsers when they are updated. The way it works, is that it takes HTML (via a library or commandline tool) and modifies the asset hrefs, adding a parameter \"cachebust\" equal to the md5sum of the file.\n\nWhen the file changes, the md5sum will change, and the browser sees this as a distinct document, and will fetch the update no matter what its caching policy.\n\n\n**Usage**\n\n\n\tUsage: cacheBust (options) [input]\n\n\n\t Options:\n\n\n\n\t\t \\-r or \\-\\-asset-root Specify the filesystem root which should be treated as \"/\" for links. Default is cwd\n\n\t\t \\-e or \\-\\-encoding Specify the encoding to use (default, utf-8)\n\n\t\t \\-q or \\-\\-quiet Do not print errors to stderr when cannot cachebust an element\n\n\n\t\t \\-\\-help Show this message\n\n\n\n**Library Documentation**\n\n\nCan be found at: http://htmlpreview.github.io/?https://github.com/kata198/cachebust/blob/master/doc/cachebust.html", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kata198/cachebust", "keywords": "cache,bust,url,md5,javascript,css,asset,update,cachebust,python,html", "license": "LGPLv2", "maintainer": null, "maintainer_email": null, "name": "cachebust", "package_url": "https://pypi.org/project/cachebust/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cachebust/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kata198/cachebust" }, "release_url": "https://pypi.org/project/cachebust/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Provide a server-side means to ensure that clients always fetch assets when they are updated", "version": "1.1.0" }, "last_serial": 1874206, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "3540a90f0260dd41bcb20f638f9f1a1a", "sha256": "d352bc5d340cacc0b37282ae0069692fd6f783134ba0d2348d0d5a3e9ec1fd33" }, "downloads": -1, "filename": "cachebust-1.0.1.tar.gz", "has_sig": false, "md5_digest": "3540a90f0260dd41bcb20f638f9f1a1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16616, "upload_time": "2015-12-11T20:54:06", "url": "https://files.pythonhosted.org/packages/27/c0/e80c69cda35fff8ebf0698dfa381ec8ec0312e5af11a26b62e43b8fc4fcd/cachebust-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ea356e5e30a50b9020b54f6f7ff6d77f", "sha256": "188733a27790f51115ae6a1ee3631f166d3aaa9604c237fdbe284d56d2e11c06" }, "downloads": -1, "filename": "cachebust-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ea356e5e30a50b9020b54f6f7ff6d77f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16670, "upload_time": "2015-12-11T20:57:18", "url": "https://files.pythonhosted.org/packages/7d/b1/a08a4d959909c5a07ff70dbb3c4e29e6c341b039c775fb5b58d5ca2e1bf4/cachebust-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e576999d9252a0afb3e100ea1cb841d8", "sha256": "e9dbacf9f03ffe8a4924652abc5af63d8e5c506e3d67de3a4012c0ba4eb094b7" }, "downloads": -1, "filename": "cachebust-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e576999d9252a0afb3e100ea1cb841d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16953, "upload_time": "2015-12-11T20:57:59", "url": "https://files.pythonhosted.org/packages/fa/81/a232d45bb7ac1081b08c6f4cd3036f96aeb2823db10559f9887c22779d7b/cachebust-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "1087756f52813869f8d7f2e49aff9d0c", "sha256": "cf482971d280725638dde8cc251f935a573307690a852f7a17b85b7de5c0570c" }, "downloads": -1, "filename": "cachebust-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1087756f52813869f8d7f2e49aff9d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19166, "upload_time": "2015-12-22T19:15:22", "url": "https://files.pythonhosted.org/packages/04/23/fec0e72f5e6ac075f5497774cca5bc304064bfe4504e959f522613448d78/cachebust-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1087756f52813869f8d7f2e49aff9d0c", "sha256": "cf482971d280725638dde8cc251f935a573307690a852f7a17b85b7de5c0570c" }, "downloads": -1, "filename": "cachebust-1.1.0.tar.gz", "has_sig": false, "md5_digest": "1087756f52813869f8d7f2e49aff9d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19166, "upload_time": "2015-12-22T19:15:22", "url": "https://files.pythonhosted.org/packages/04/23/fec0e72f5e6ac075f5497774cca5bc304064bfe4504e959f522613448d78/cachebust-1.1.0.tar.gz" } ] }