handle lastUpdateTime for Wopi implementation

* get the last updated time from the stored object's storage
* improve perf on loading content from stored object's storage: keep the
response in cache
This commit is contained in:
2022-06-20 21:22:02 +02:00
parent 1742dd4951
commit 10095343ec
5 changed files with 106 additions and 25 deletions

View File

@@ -12,9 +12,12 @@ declare(strict_types=1);
namespace Chill\DocStoreBundle\Service;
use Chill\DocStoreBundle\Entity\StoredObject;
use DateTimeInterface;
interface StoredObjectManagerInterface
{
public function getLastModified(StoredObject $document): DateTimeInterface;
/**
* Get the content of a StoredObject.
*