
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
An static resource compression plugin for Pelican, the static site generator.
This is a variant of gzip_cache but using zopfli for better compression.
Certain web servers (e.g., Nginx) can use a static cache of gzip-compressed files to prevent the server from compressing files during an HTTP call. Since compression occurs at another time, these compressed files can be compressed at a higher compression level for increased optimization.
Since zopfli is slow, this plugin uses joblib to compress files in parallel.
The pelican-zopfli
plugin compresses all common text type files into a
.gz
file within the same directory as the original file.
The easiest option is to install via pip from PyPI:
pip install pelican-zopfli
It is also possible to simply clone the git repository and put it in a directory
listed in PLUGIN_PATHS
in your pelicanconf.py
:
git clone https://github.com/VorpalBlade/pelican_zopfli.git
In both cases you will then have to enable the plugin by putting
pelican_zopfli
into PLUGINS
in your pelican configuration. It is
a good idea to only do this in your publishconf.py
since this plugin is
quite slow.
PELICAN_ZOPFLI_OVERWRITE
If True, the original files will be replaced by the gzip-compressed files.
This is useful for static hosting services (e.g S3). Defaults to False.FAQs
An static resource compression plugin for Pelican, the static site generator.
We found that pelican-zopfli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.