mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Delete the cache entry when the post is changed or deleted
This commit is contained in:
parent
7c9f10e58f
commit
da658cbf1d
6 changed files with 38 additions and 9 deletions
|
@ -136,7 +136,7 @@ class Objects extends BaseModule
|
|||
}
|
||||
|
||||
if (in_array($item['private'], [Item::PUBLIC, Item::UNLISTED])) {
|
||||
PageCache::add($_SERVER['REQUEST_URI'], $data);
|
||||
PageCache::add($_SERVER['REQUEST_URI'], $item['uri-id'], $data);
|
||||
}
|
||||
|
||||
// Relaxed CORS header for public items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue