Jump to content

Recommended Posts

Posted

In one use case we have a normal cache like this

$local_data = $cache->get('calendar', $c, function() { }

With PW 3.0.184 setting expire argument ($c) to -1 the cache was cleared. Now it does not work and trying to set expire argument to 0, we get '0000-00-00 00:00:00' in the database expire field instead of some valid date. 

What is the correct way to expire the cache by setting the expire argument OR should we always use $cache->delete('calendar') to expire now?
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...