{ "info": { "author": "Wolfgang Schnerring", "author_email": "ws@gocept.com", "bugtrack_url": null, "classifiers": [ "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "==================\nz3c.hashedresource\n==================\n\nWhile we want browsers to cache static resources such as CSS-stylesheets and\nJavaScript files, we also want them *not* to use the cached version if the\nfiles on the server have been updated. (And we don't want to make end-users\nhave to empty their browser cache to get the latest version. Nor explain how\nto do that over the phone every time.)\n\nTo make browsers update their caches of resources immediately when the\nresource changes, the absolute URLs of resources can now be made to contain a\nhash of the resource's contents, so it will look like\n/++noop++12345/@@/myresource instead of /@@/myresource.\n\nIn developer mode the hash is recomputed each time the resource is asked for\nits URL, while in production mode the hash is computed only once, so remember\nto restart the server after changing resource files (else browsers will still\nsee the old URL unchanged and use their outdated cached versions of the files).\n\nTo use this package, include its configure.zcml and use\n`z3c.hashedresource.interfaces.IHashedResourceSkin` or a skin that inherits from\nit.\n\nThe dependency on zope.app.publisher >= 3.8.2 is not longer declared\nexplicitly in order to gain compatibility with Zope2, but it is still required\nwhen using Zope3.\n\n\n=======\nCHANGES\n=======\n\n1.1.3 (2011-09-05)\n==================\n\n- Removed unused (and broken) import.\n\n\n1.1.2 (2009-09-13)\n==================\n\n- Restored compatibility with Python 2.4 by importing hashlib conditionally.\n\n\n1.1.1 (2009-08-25)\n==================\n\n- Using haslib instead of md5 get rid of deprecation warnings with Python 2.6\n\n\n1.1 (2009-07-27)\n================\n\n- Added compatibility with Zope2. The dependency on zope.app.publisher >= 3.8.2\n is not longer declared explicitly, but still required when using Zope3.\n\n- Some code and test clean-ups.\n\n\n1.0 (2009-06-16)\n================\n\n- first released version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/z3c.hashedresource", "keywords": null, "license": "ZPL 2.1", "maintainer": null, "maintainer_email": null, "name": "z3c.hashedresource", "package_url": "https://pypi.org/project/z3c.hashedresource/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/z3c.hashedresource/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/z3c.hashedresource" }, "release_url": "https://pypi.org/project/z3c.hashedresource/1.1.3/", "requires_dist": null, "requires_python": null, "summary": "Provides URLs for resources that change whenever their content changes.", "version": "1.1.3" }, "last_serial": 802027, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9f4b7aff4cad42a89b350aadbf640f0b", "sha256": "db7a443ed089c344f6f31393f1a09c54d46b068a5d236b0ed0c5d55310595463" }, "downloads": -1, "filename": "z3c.hashedresource-1.0.tar.gz", "has_sig": false, "md5_digest": "9f4b7aff4cad42a89b350aadbf640f0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6599, "upload_time": "2009-06-16T10:32:13", "url": "https://files.pythonhosted.org/packages/da/73/775268657fbebfaadfd7fefc08b6688cfcc979910b9fc0931742ef33d9cf/z3c.hashedresource-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "bbc3b8c5783edf541adc0c603e70e772", "sha256": "0aafb97d34849a003e4a24122dd268a8562d14e81f4e97283a01c67a84c1cab0" }, "downloads": -1, "filename": "z3c.hashedresource-1.1.tar.gz", "has_sig": true, "md5_digest": "bbc3b8c5783edf541adc0c603e70e772", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6964, "upload_time": "2009-07-27T13:19:52", "url": "https://files.pythonhosted.org/packages/94/a0/6621b1fec288e375a5044fbcfdd330410b7cdc8b2d8b87af0928eb43f85b/z3c.hashedresource-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "7ca1155d7fceda98d4f98c490a7cd9c8", "sha256": "19e8ed7f499edc124ba2ee8a18eb67eef293ba1506759c62bac10c8ac43d6677" }, "downloads": -1, "filename": "z3c.hashedresource-1.1.1.tar.gz", "has_sig": false, "md5_digest": "7ca1155d7fceda98d4f98c490a7cd9c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7072, "upload_time": "2009-08-25T13:19:22", "url": "https://files.pythonhosted.org/packages/8f/5e/e8143f5c3d0dc0fef8f047e8877f724ae8ebbfea0fdfcd1b79e26777c6de/z3c.hashedresource-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "e04742c5e3ee6da3915314a5a80ea367", "sha256": "fa70019fa09b4fb3bb9c6a1146e5ad0db7d7b00a54b87bf373fe398e51e540c6" }, "downloads": -1, "filename": "z3c.hashedresource-1.1.2.tar.gz", "has_sig": true, "md5_digest": "e04742c5e3ee6da3915314a5a80ea367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7195, "upload_time": "2009-09-13T12:29:10", "url": "https://files.pythonhosted.org/packages/ce/4d/0d596a6b2534e8dde21cee19f453a4d58e8055397263e26512179e0526b5/z3c.hashedresource-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "d57f08b741a168c3a5d5b93ed3d6d2de", "sha256": "4370d65929e7f8ed5a57ca364515dac9a6887ebe0ff9dbebab7e61999725c837" }, "downloads": -1, "filename": "z3c.hashedresource-1.1.3.tar.gz", "has_sig": false, "md5_digest": "d57f08b741a168c3a5d5b93ed3d6d2de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8091, "upload_time": "2011-09-05T10:44:23", "url": "https://files.pythonhosted.org/packages/fd/5b/48d7eddb6c4c927f73344954df79904b32ed1d7c2d9a36a45882e12e9533/z3c.hashedresource-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d57f08b741a168c3a5d5b93ed3d6d2de", "sha256": "4370d65929e7f8ed5a57ca364515dac9a6887ebe0ff9dbebab7e61999725c837" }, "downloads": -1, "filename": "z3c.hashedresource-1.1.3.tar.gz", "has_sig": false, "md5_digest": "d57f08b741a168c3a5d5b93ed3d6d2de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8091, "upload_time": "2011-09-05T10:44:23", "url": "https://files.pythonhosted.org/packages/fd/5b/48d7eddb6c4c927f73344954df79904b32ed1d7c2d9a36a45882e12e9533/z3c.hashedresource-1.1.3.tar.gz" } ] }