Skip to content

tedious ramblings

The blog of Robert Hafner

Menu
  • Projects
  • Resume
  • Sponsor
  • Archives
  • About
Menu

Category: Stash

Stash is a caching library written in PHP. It’s main purpose is to speed up applications. It does this by allowing developers to store the results of expensive code so they can call that code as little as possible.

Stash separates itself from other libraries with a primary goal- that the developers API remain consistent regardless of what back end caching system is used. Regardless of which back end is selected the developer can be confident that the library will work in the same way and with the same feature sets. This is different from many other libraries where the choice of back end dictates whether certain features, such as group invalidation, are available.

Full documentation for stash can be found at it’s site, StashPHP.com. Stash development is hosted on Github.

Stash v0.14 Released with PSR-6 Support

Posted on February 10, 2016 by Robert Hafner

Release v0.14.1 is a major update to Stash, and quite likely the last line of releases before v1.0.0. The biggest addition is support for PSR-6. Stash now implements the various interfaces natively, allowing it to be directly injected into PSR-6 compliant libraries. This did require a few API changes (which prompted some cleanup of deprecated…

New Release of Stash and Stash Bundle

Posted on August 3, 2015August 2, 2015 by Robert Hafner

Stash 0.13.1 Dropped support for PHP 5.3. Updated dependencies. Removed various PHP warnings (exceptions are still thrown where needed). Various optimizations, such as reduced function calls during repeated operations. Added “isPersistent” method to driver classes. Stash Bundle v0.5.1 Dropped support for PHP 5.3. Added ‘logger’ config parameter to caches so that they may be injected…

Stash v0.12.2 Released

Posted on December 8, 2014December 7, 2014 by Robert Hafner

This backwards compatible release contains a number of feature and stability improvements. On the HHVM front a nasty regression with APCIterator was resolved, continuing the commitment to HHVM compatibility. The Filesystem driver was given an alternative format, JSON, for systems where the native PHP was not optimal. This driver also saw signicant performance improvements related…

Stash reaches 100k Downloads through Packagist!

Posted on November 13, 2014November 12, 2014 by Robert Hafner

Stash is following the milestone JShrink hit last week and has reached it’s 100,000th download using Composer and the Packagist repository!

Major Stash and StashBundle Updates

Posted on June 5, 2014 by Robert Hafner

For the last two months there has been a lot of development on Stash and the Symfony StashBundle, culminating in the release of Stash 0.12 and Stash Bundle v0.4. It’s hard to stress how much work went into these two releases. For Stash there was 139 commits and the Stash Bundle itself had another 103. Much of…

Stash v0.11.6: Opcode Cache Bugfix

Posted on March 30, 2014May 3, 2014 by Robert Hafner

This release of Stash deals with changes between the APC and Opcode Caching system in PHP 5.4, specifically how opcode caches get invalidated. As of this release the Filesystem Driver explicitly invalidates the opcode cache for the files it creates or updates, preventing PHP from including an older version of it’s data. The new release…

Stash reaches 40k Downloads through Packagist!

Posted on March 11, 2014 by Robert Hafner

As I was poking around the Packagist website this morning I found that Stash has reached 40k downloads through composer! What’s really exciting is that 2,135 of those downloads were just in the last 10 days. This is an exciting milestone for me. Stash has been in active development since 2009, but was only moved to…

About

Robert Hafner is a Principal Engineer based in Chicago focusing on distributed applications, infrastructure, and security. This blog is a running journal of projects, tutorials, and random ideas that pop into his head.

  • GitHub
  • Mastodon
  • LinkedIn

Popular Posts

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

©2025 tedious ramblings | Built using WordPress and Responsive Blogily theme by Superb