Skip to content

v0.5.0

Choose a tag to compare

@ogorzalka ogorzalka released this 19 Oct 12:30
· 153 commits to main since this release
0cf9f74

Sizes made on demand.

  • A declared size that is not eager() is made the first time its URL is asked for, at the exact path of the URL (200, Cache-Control: public, max-age=31536000, immutable, never a redirect); the web server or the CDN serves it without PHP afterwards.
  • The name, the signature and the extension are checked without asking the disk; then the dimensions, the weight and the visibility of the original. A request that fails a check gets a 404.
  • Per-server limits (flock locks): one process per file, a ceiling of simultaneous sizes, no size for a huge original, and the nearest existing size with no cache for a request that waits too long.
  • The files of sizes made on demand are deleted with their media. The ThumbnailDriver port.

See the CHANGELOG.