This package provides a meta directive which allows to register resources
like images, javascripts or other static content like falsh movies etc. for
Zope3. The main usecase of this package is that we can define a sub domain.
This sub domain get used if we call the absolute url of such a resource.
This allows to offload the resouce calls from the zope server and it's
front end proxy. In short words, this package offers a content delivery network
setup for Zope3.
=======
CHANGES
=======
1.3.5 (2025-08-29)
------------------
- bugfix; fix empty content type at error handling
1.3.4 (2025-08-27)
------------------
- bugfix; fix encoding issue in template processing
1.3.3 (2025-08-25)
------------------
- bugfix; zope.interface implements - implementer migration
1.3.2 (2025-07-15)
------------------
- bugfix: fixed imports
1.3.1 (2025-06-12)
------------------
- bugfix: added missing import p01.cdn.processor
1.3.0 (2025-06-04)
------------------
- merged z3c resources from package z3c.zrtresources for future development
- remove dependency to z3c.zrtresource
1.2.0 (2015-11-27)
------------------
- feature: implemented lazy package version lookup. This will ensure that we
only lookup and apply a resource version based on package lookup if we need
the version for extraction. Before we did that lookup on zcml directive
processing which was slow down the server startup. This also means we will
never lookup and apply such package based resource versions if you don't use
the file based versioning concept at all.
1.1.3 (2015-10-05)
------------------
- feature: added custom ResorceNotFound error and error page. This allows to
return an empty string instead of the default NotFound page including the
page layout. There is not need to return a nice page and layout for missing
resources.
1.1.2 (2015-09-11)
------------------
- bugfix: fix broken i18n cdn resource path extraction
1.1.1 (2015-07-19)
------------------
- bugfix: fix directory resource extraction. Make sure we use the right version
in file name. Use the full resource traversal path in zrt-replace and not
only the folder reference.
1.1.0 (2015-06-30)
------------------
- feature: check version before write the verisons and zrt-repalce directives
the the related files. This prevents that the less compiler get invoked for
nothing because fo the modified zrt-replace.less file.
- bugfix: fix i18n resource extraction
1.0.0 (2015-06-29)
------------------
- feature: added option for extract each resource with it's own version based
on subversion or python package version. See p01.recipe.cdn version 1.0.0
for support cdn resource extraction. Added versions and zrt headers.
Note; the resource signature and some implementation details are not
compatible with previous versions. Make sure your custom implementation
provides the correct __init__ method signature if you have a custom resource
implementation. Otherwise the package is fully compatible if you just use the
zcml resource directives.
0.6.2 (2013-06-20)
------------------
- bugfix: fix broken i18n resource lookup
0.6.1 (2013-03-19)
------------------
- implement include zrt resource expression. This espression can get used
to lookup and include cdn resources which is usefull for stack different
javascript file into one single file.
- bugfix: fix broken input str zrtresource. The existing zrtresource input
is using non raw strings whcih ends in converted backslashes. This should
get backported to z3c.zrtresource
0.6.0 (2012-12-12)
------------------
- feature: support named resource manager. This is usefull if you register
resources within different layers and more then one resource manager for each
layer. If so, a resource manager can provide a name and the resource can
provide a manager property. This makes sure that a resource will pickup the
right resource manager registered within an inherited layer.
- bugfix: fix broken lovely.recipe download link e.g.
Download error on svn://svn.zope.org/repos/main/lovely.recipe
unknown url type: svn -- Some packages may not be found!
- bugfix: fix broken resource manager lookup in I18nResourceFactory
0.5.0 (2012-11-16)
------------------
- initial release
Raw data
{
"_id": null,
"home_page": "http://pypi.python.org/pypi/p01.cdn",
"name": "p01.cdn",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "zope3 z3c i18n cdn offload resource meta configuration directive",
"author": "Roger Ineichen, Projekt01 GmbH",
"author_email": "dev@projekt01.ch",
"download_url": "https://files.pythonhosted.org/packages/42/5a/994de3d8ea87c77f1448ca64932c637bc1f8203b47603dfdff2f2497f9e0/p01.cdn-1.3.5.tar.gz",
"platform": null,
"description": "This package provides a meta directive which allows to register resources\nlike images, javascripts or other static content like falsh movies etc. for \nZope3. The main usecase of this package is that we can define a sub domain.\nThis sub domain get used if we call the absolute url of such a resource.\nThis allows to offload the resouce calls from the zope server and it's \nfront end proxy. In short words, this package offers a content delivery network\nsetup for Zope3.\n\n\n=======\nCHANGES\n=======\n\n1.3.5 (2025-08-29)\n------------------\n\n- bugfix; fix empty content type at error handling\n\n\n1.3.4 (2025-08-27)\n------------------\n\n- bugfix; fix encoding issue in template processing\n\n\n1.3.3 (2025-08-25)\n------------------\n\n- bugfix; zope.interface implements - implementer migration\n\n\n1.3.2 (2025-07-15)\n------------------\n\n- bugfix: fixed imports\n\n\n1.3.1 (2025-06-12)\n------------------\n\n- bugfix: added missing import p01.cdn.processor\n\n\n1.3.0 (2025-06-04)\n------------------\n\n- merged z3c resources from package z3c.zrtresources for future development\n\n- remove dependency to z3c.zrtresource\n\n\n1.2.0 (2015-11-27)\n------------------\n\n- feature: implemented lazy package version lookup. This will ensure that we\n only lookup and apply a resource version based on package lookup if we need\n the version for extraction. Before we did that lookup on zcml directive\n processing which was slow down the server startup. This also means we will\n never lookup and apply such package based resource versions if you don't use\n the file based versioning concept at all.\n\n\n1.1.3 (2015-10-05)\n------------------\n\n- feature: added custom ResorceNotFound error and error page. This allows to\n return an empty string instead of the default NotFound page including the\n page layout. There is not need to return a nice page and layout for missing\n resources.\n\n\n1.1.2 (2015-09-11)\n------------------\n\n- bugfix: fix broken i18n cdn resource path extraction\n\n\n1.1.1 (2015-07-19)\n------------------\n\n- bugfix: fix directory resource extraction. Make sure we use the right version\n in file name. Use the full resource traversal path in zrt-replace and not\n only the folder reference.\n\n\n1.1.0 (2015-06-30)\n------------------\n\n- feature: check version before write the verisons and zrt-repalce directives\n the the related files. This prevents that the less compiler get invoked for\n nothing because fo the modified zrt-replace.less file.\n\n- bugfix: fix i18n resource extraction\n\n\n1.0.0 (2015-06-29)\n------------------\n\n- feature: added option for extract each resource with it's own version based\n on subversion or python package version. See p01.recipe.cdn version 1.0.0\n for support cdn resource extraction. Added versions and zrt headers.\n Note; the resource signature and some implementation details are not\n compatible with previous versions. Make sure your custom implementation\n provides the correct __init__ method signature if you have a custom resource\n implementation. Otherwise the package is fully compatible if you just use the\n zcml resource directives.\n\n\n0.6.2 (2013-06-20)\n------------------\n\n- bugfix: fix broken i18n resource lookup\n\n\n0.6.1 (2013-03-19)\n------------------\n\n- implement include zrt resource expression. This espression can get used\n to lookup and include cdn resources which is usefull for stack different\n javascript file into one single file.\n\n- bugfix: fix broken input str zrtresource. The existing zrtresource input\n is using non raw strings whcih ends in converted backslashes. This should\n get backported to z3c.zrtresource\n\n\n0.6.0 (2012-12-12)\n------------------\n\n- feature: support named resource manager. This is usefull if you register\n resources within different layers and more then one resource manager for each\n layer. If so, a resource manager can provide a name and the resource can\n provide a manager property. This makes sure that a resource will pickup the\n right resource manager registered within an inherited layer.\n\n- bugfix: fix broken lovely.recipe download link e.g.\n Download error on svn://svn.zope.org/repos/main/lovely.recipe\n unknown url type: svn -- Some packages may not be found!\n\n- bugfix: fix broken resource manager lookup in I18nResourceFactory\n\n\n0.5.0 (2012-11-16)\n------------------\n\n- initial release",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Meta directive for register offload resource for Zope3",
"version": "1.3.5",
"project_urls": {
"Homepage": "http://pypi.python.org/pypi/p01.cdn"
},
"split_keywords": [
"zope3",
"z3c",
"i18n",
"cdn",
"offload",
"resource",
"meta",
"configuration",
"directive"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "425a994de3d8ea87c77f1448ca64932c637bc1f8203b47603dfdff2f2497f9e0",
"md5": "dbfe59888beb99393bd40a1304071d86",
"sha256": "a18882fc5825e5197459c3f08fffb50d91eba04998531a20e67e1894a2b15820"
},
"downloads": -1,
"filename": "p01.cdn-1.3.5.tar.gz",
"has_sig": false,
"md5_digest": "dbfe59888beb99393bd40a1304071d86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 109210,
"upload_time": "2025-08-29T10:18:44",
"upload_time_iso_8601": "2025-08-29T10:18:44.020149Z",
"url": "https://files.pythonhosted.org/packages/42/5a/994de3d8ea87c77f1448ca64932c637bc1f8203b47603dfdff2f2497f9e0/p01.cdn-1.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-29 10:18:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "p01.cdn"
}