refac: API 캐시 컨트롤에서 max-age, public 지정 가능하도록
This commit is contained in:
1 parent
095a23df6d
commit
ef532f0779
3 files changed
+15
-2
No files matched your search
@@ -5,6 +5,8 @@ class APICacheResult{
|
||||
function __construct(
|
||||
public ?\DateTimeInterface $lastModified = null,
|
||||
public ?string $etag = null,
|
||||
public int $validSeconds = 60,
|
||||
public bool $isPublic = false,
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user