Skip to main content

# pyblosxommtimecache

pyblosxommtimecache is a [PyBlosxom](https://pyblosxom.github.io/) filestat plugin that caches your entries mtimes in a .mtimes.yaml file in your datadir.

The first time it sees each new blog entry, pyblosxommtimecache will add the entry’s mtime to the .mtimes.yaml file. It then makes PyBlosxom use these cached mtimes as the mtimes of your blog entries, instead of using the mtimes of the files themselves.

This means that if you edit an entry its mtime won’t change and it won’t jump to the top of your blog. It also means that PyBlosxom isn’t doing costly os.stat() calls on every entry file every time it renders a page.

pyblosxommtimecache will automatically create the .mtimes.yaml file for you the first time it runs.

The .mtimes.yaml file is a simple [YAML](http://yaml.org/)-formatted text file. If you want to change the mtime of an entry you can just edit this file by hand. If an entry is deleted from the file, or if the entire file is deleted, it’ll just be regenerated using the current mtimes of your entry files.

## Installation

Install the pyblosxommtimecache package from pip:

pip install pyblosxommtimecache

Then add it to the load_plugins setting in your config.py:

py[“load_plugins”] = [“pyblosxommtimecache.mtimecache”]

Release files for pyblosxommtimecache 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyblosxommtimecache 0.0.2
File Size Uploaded
pyblosxommtimecache-0.0.2.tar.gz 3.7 kB Details

Release files / pyblosxommtimecache-0.0.2.tar.gz

Download URL pyblosxommtimecache-0.0.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
28fef016feb39c8a4dea6c967d284f3c2baec83ad353c83ea3eef1948af0bd02
BLAKE2b-256 checksum
How to use checksums
b31f98688b3e41c2d07567dae886cbe77a7333267ccc07f09419e7b57369edf1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page