Skip to content

Commit

Permalink
Purge Url Alias Path Cache Items on Content Publish (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
SalvatorePollaci authored and andrerom committed Oct 8, 2018
1 parent f551da3 commit f7421ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundle/Cache/PersistenceCachePurger.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public function content($locationIds = null, array $contentIds = null)

$tags[] = 'location-' . $id;
$tags[] = 'urlAlias-location-' . $id;
$tags[] = 'urlAlias-location-path-' . $id;

if (empty($contentIds)) {
// if caller did not provide affected content id's, then try to load location to get it
Expand Down

0 comments on commit f7421ce

Please sign in to comment.