Hot answers tagged

4 votes
Accepted

Clearing the cache via API

ref: https://docs.expressionengine.com/latest/development/legacy/libraries/cache.html#class-methods ee()->cache->delete('/myaddon/');
Jim Wyse's user avatar
  • 1,987
2 votes
Accepted

Browser Caching

Since my guess in the comments was correct I am adding it as an answer: Check that mod_expires is installed in Apache (one way to quickly check in EE is to look at the phpinfo page in the control ...
AllInOne's user avatar
  • 1,079
2 votes
Accepted

What's the correct syntax for setting up memcached caching driver in EE 2.8+ with socket?

I'm glad you asked! $config['cache_driver'] = 'memcached'; $config['memcached'] = array( array( 'host' => '/var/tmp/memcached.sock', 'port' => 0, 'weight' => 1, ) ); Adding ...
Gary Reckard's user avatar
1 vote

Control Panel won't log out, loops when logging back in randomly

The issue is with the ExpiresDefault. Because it's a catch-all I believe it's setting bad expire headers on the cookies. I was having the same exact issue and removed only that line and all was well!
niteraven78's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible