Repository navigation
Releases
v1.0.2.9 — signed-in visitors out of the shared view cache
The kernel view patch: signed-in visitors and cache_ttl
The view cache key leaves out the user's roles (ViewCacheTweaks ignore_userroles), so a page rendered for an editor,
with its edit and remove buttons, could be served to anonymous visitors from the shared Valkey view cache.
doc/kernel_content_view.patch now keeps signed-in visitors out of that cache: they neither read nor write it and
render live. A view whose template sets cache_ttl=0 (the view result's no_cache flag) is never stored, and the
generation lock it took is released (purge()), so waiting requests render it themselves instead of waiting for the
lock to expire. A positive cache_ttl is used as the lifetime instead of the fixed 3600 seconds.
Kernels patched by hand need the new patch applied. The Exponential 6.0.15 kernel line carries the same logic in
kernel/private/classes/views/content/view.php since se7enxweb/exponential 6fc5e24e2f.
ezinfo.php and extension.xml carry the version 1.0.2.9.
Commits
22fa063Updated: The kernel view patch keeps signed-in visitors out of the shared view cache and never stores a view with cache_ttl=0310ee1fUpdated: The kernel view patch reads cache_ttl=0 from the view result's no_cache flag63344a1Updated: Version 1.0.2.9
v1.0.2.10 — INI clear reaches Valkey on the stable kernel
- Added: The compiled INI arrays in Valkey are a kernel cache item of their own, "Valkey INI cache" (
valkey_ini, tagini).ezcache.php --clear-tag=ini,--clear-id=valkey_ini,--clear-alland Setup > Cache now clear them on every Exponential 6.0.15 kernel, also the stable one that cleared only the INI caches on disk. On a kernel witheZCache::clearValkeyINICache()the item does nothing, so nothing is cleared twice. - Updated: The INI generation is stored as a plain string, without the connection's serializer. A clear from a PHP with igbinary wrote a value that a PHP without igbinary could not read; such processes then kept no compiled INI array at all. Values written by earlier versions are still read, and arrays written through igbinary have keys of their own.
On the stable kernel --clear-id=ini alone reaches only the kernel's own item (the command takes the first item of an id); use --clear-tag=ini or --clear-id=ini,valkey_ini. Persistent web workers still need a restart to read changed settings.
v1.0.2.8 — Composer type exponential-extension
The Composer type exponential-extension
The package type is now exponential-extension, and the package requires
se7enxweb/exponential-legacy-installer: ^2.2.6, the installer that places both exponential-extension and the
original ezpublish-legacy-extension in extension/. A project with an older installer gets 2.2.6 with this
release, in the same composer require or composer update. The extension folder name is unchanged.
ezinfo.php and extension.xml carry the version 1.0.2.8.
Commits
1c376f2Fixed: A purge of changed nodes covers only the siteaccesses that read the same content databased67c80cFixed: Nodes that share one Valkey keep their own compiled INI of a setting they set differentlya98ec75Updated: valkeycache.ini's IniNodeFingerprint comment no longer closes the PHP comment the settings live inc2ce9c3Updated: CI cancels a run that a newer push supersedesc9ce9abUpdated: Version 1.0.2.8, with the Composer type exponential-extension
1.0.2.7
Fixed: Clearing the view cache now reaches every siteaccess on the same Valkey server and database. With InstallationHash=auto each siteaccess with its own SiteName has its own key prefix, so a clear, flush or purge by node or subtree only reached the siteaccess it ran in; a publish in the admin did not purge the public siteaccess. Existing prefixes are unchanged, so nothing cached is lost on upgrade.
1.0.2.6
Added: The kernel's cache clearing also clears the content view caches and cache-blocks this extension keeps in Valkey. sevenxValkeyCacheClearListener is registered in the extension's site.ini ([Cache] ClearListeners[]), so bin/php/ezcache.php, Setup > Cache in the administration interface and the cache steps of exp:velocity deploy reach Valkey too, and the nodes of a content change are purged whatever StaticCacheHandler the site uses. sevenxValkeyCacheBlock::clearBlocks() clears the cache-blocks with their indexes. This needs the kernel's cache clear listener hook (expCacheClearListener, Exponential main from 2026-11-27); an older kernel does not read the setting, and the extension works with it as before.
Fixed: The INI cache class loads without the PHP redis extension. Before, its first use stopped with "Class Redis not found" where the extension was missing; it now reports itself disabled and the INI files are read as usual.
1.0.2.5
Fixed: The INI generation is a random token instead of a counter. When the counter's key was deleted (a flush of the key prefix), it started again at 0 and the arrays kept under 0 before the last clear were served as current. A missing generation now gets a new token, and the hashes of versions before 1.0.2.3 are never read (1.0.2.3 and 1.0.2.4 could serve settings of before a clear after such a flush; upgrade).
1.0.2.4
Updated: Reads (cache-blocks, view cache, compiled INI arrays) can go to a local replica (ReadHost, ReadPort) and fall back to the primary; writes, locks and clears always go to the primary. On a two-node cluster whose primary sat on the other node, a read went from about 54 ms to 1.6 ms. Updated: A cache-block with node or subtree expiry prefetches the node's other entries with one MGET only while the node has at most PrefetchMaxKeys entries (32); MGETs of 2 300 keys had blocked Valkey to serve one block.
1.0.2.3
Updated: A request reads its settings with one round trip instead of one per INI file. Each compiled INI array is its own key under a generation number of the installation, kept in APCu as well (IniLocalCache); clearing or deleting raises the generation on every node. Arrays expire with a random part (IniTTL, IniTTLJitter), so they no longer expire together, and IniSharedAcrossHosts keeps one copy for every web host of an installation. Measured on a busy two-node cluster: INI rebuilds went from about 50 to 0.1 per second, settings reads from 266 to 69 hash lookups per second.
v1.0.2.2
- Updated: composer.json admits PHP 8.0 (>=8.0, was >=8.1.0). Every file passes php -l on PHP 8.0 to 8.5; PHP 8.5 stays supported.
- Fixed (since v1.0.2.1): a request waits at most 2 seconds for a cache block another request is generating; clearing the INI caches removes every compiled INI hash of the installation in Valkey, and only those.
- Added: CI through the shared extension workflow (php -l on PHP 8.0-8.5, xmllint, version parity).