SQLite Object Cache source code

By OllieJones, on WordPress.org since 2022. 10,000+ active installs.

Browse code Download zip

A persistent object cache helps your site perform well. This one uses the widely available SQLite3 extension, and optionally the igbinary and APCu extensions to php. Below is its source code for every one of its 30 releases, what changed in the latest one, and how often it ships.

What changed in 1.6.5

Released Aug 17, 2026, 1 week after 1.6.4
  • Support plugins that use set_transient or other cache operations in their destructors.

6 files changed since 1.6.4: 6 modified, 0 added, 0 removed.

Compare 1.6.4 with 1.6.5

Release history

30 releases since December 2022
  1. 1.6.6 Oct 21, 2026
  2. 1.6.5 Aug 17, 2026 Support plugins that use set_transient or other cache operations in their destructors.
  3. 1.6.4 Aug 7, 2026 Set the permissions of SQLite’s files (including the -wal and -shm files) to group-writeable to make WL-CLI more convenient.
  4. 1.6.3 Mar 23, 2026 A race condition caused expired cache entries to be copied to APCu incorrectly sometimes. This is corrected. Props to @pobrehablador for finding this defect.
  5. 1.6.2 Mar 18, 2026 Use PRAGMA wal_checkpoint(TRUNCATE) sometimes to avoid excessively large re-used WAL files.
Full SQLite Object Cache changelog with diffs

Source of 1.6.5

16 files
Browse all SQLite Object Cache 1.6.5 files Browse trunk