Skip to content

Commit

Permalink
Fix regexp to clear all cache with Varnish 4
Browse files Browse the repository at this point in the history
  • Loading branch information
masev committed Jan 22, 2016
1 parent 99ee782 commit d8bd50d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ezpublish_legacy/masev_settings/modules/configuration/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
$injectionManager = $container->get('masev_settings.dependency_injection.container_injection_manager');
$injectionManager->rebuild($kernel);

$container->get( 'ezpublish.http_cache.purger' )->purge( array("*") );
$container->get( 'ezpublish.http_cache.purger' )->purge( array(".*") );
if ($container->has('fos_http_cache.cache_manager')) {
$container->get('fos_http_cache.cache_manager')->flush();
}
Expand All @@ -58,4 +58,4 @@
break;
}

eZExecution::cleanExit();
eZExecution::cleanExit();

0 comments on commit d8bd50d

Please sign in to comment.