Package python-module-z3c.hashedresource: Information
Source package: python-module-z3c.hashedresource
Version: 1.1.3-alt2.1
Build time: Mar 17, 2016, 11:53 AM in the task #161354
Category: Development/Python
Report package bugLicense: ZPLv2.1
Summary: Provides URLs for resources that change whenever their content changes
Description:
While we want browsers to cache static resources such as CSS-stylesheets and JavaScript files, we also want them not to use the cached version if the files on the server have been updated. (And we don't want to make end-users have to empty their browser cache to get the latest version. Nor explain how to do that over the phone every time.) To make browsers update their caches of resources immediately when the resource changes, the absolute URLs of resources can now be made to contain a hash of the resource's contents, so it will look like /++noop++12345/@@/myresource instead of /@@/myresource. In developer mode the hash is recomputed each time the resource is asked for its URL, while in production mode the hash is computed only once, so remember to restart the server after changing resource files (else browsers will still see the old URL unchanged and use their outdated cached versions of the files). To use this package, include its configure.zcml and use z3c.hashedresource.interfaces.IHashedResourceSkin or a skin that inherits from it.
List of rpms provided by this srpm:
python-module-z3c.hashedresource (x86_64, i586)
python-module-z3c.hashedresource-tests (x86_64, i586)
python3-module-z3c.hashedresource (x86_64, i586)
python3-module-z3c.hashedresource-tests (x86_64, i586)
python-module-z3c.hashedresource (x86_64, i586)
python-module-z3c.hashedresource-tests (x86_64, i586)
python3-module-z3c.hashedresource (x86_64, i586)
python3-module-z3c.hashedresource-tests (x86_64, i586)
Maintainer: Eugeny A. Rostovtsev
Last changed
March 13, 2016 Ivan Zakharyaschev 1.1.3-alt2.1
- (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed)
July 21, 2014 Eugeny A. Rostovtsev 1.1.3-alt2
- Added module for Python 3
Dec. 28, 2011 Eugeny A. Rostovtsev 1.1.3-alt1
- Version 1.1.3