No project description provided
Project description
wagtail-storages
================
This package helps to maintain Wagtail documents hosted on S3.
**This is currently only proof of concept. Do not use on the production.**
Features
-------
- Serve public documents straight from S3.
- Service private documents straight from S3 using signed URLs.
- Purge documents from front-end cache when needed.
Requirements
------------
- You use ``django-storages`` with ``S3Boto3Storage`` as your storage backend
and you have configured it.
- Your S3 user can set files' ACLs in the bucket you use.
- Front-end cache purging uses Wagtail's ``frontendcache`` contrib module, so
you need to configure that beforehand.
- You don't cache your Wagtail's documents view, since that would make it
impossible to have private files.
Rationale
---------
The reason this package was developed is that currently Wagtail has to read all
of your file in the Python view and return it from Python. It turns out to be
fairly inefficient and may result in long response times. Also there's no
solution out there to efficiently serve private files from Wagtail and S3.
================
This package helps to maintain Wagtail documents hosted on S3.
**This is currently only proof of concept. Do not use on the production.**
Features
-------
- Serve public documents straight from S3.
- Service private documents straight from S3 using signed URLs.
- Purge documents from front-end cache when needed.
Requirements
------------
- You use ``django-storages`` with ``S3Boto3Storage`` as your storage backend
and you have configured it.
- Your S3 user can set files' ACLs in the bucket you use.
- Front-end cache purging uses Wagtail's ``frontendcache`` contrib module, so
you need to configure that beforehand.
- You don't cache your Wagtail's documents view, since that would make it
impossible to have private files.
Rationale
---------
The reason this package was developed is that currently Wagtail has to read all
of your file in the Python view and return it from Python. It turns out to be
fairly inefficient and may result in long response times. Also there's no
solution out there to efficiently serve private files from Wagtail and S3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file wagtail_storages-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: wagtail_storages-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 428ce78d08795db1bf293d07bf08ffc0a252aecf63835a8d3c286135ca73126b |
|
MD5 | 7a8f1cbb7a54d6f8766a1f4c79b16342 |
|
BLAKE2b-256 | fa7229771d4fb70b7889d5c9f5e6b14c98a3cdeaf7afa09ae67dbe58bbdcf97d |