summaryrefslogtreecommitdiff
path: root/internal/cache
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-01-20 09:56:00 +0000
committerLibravatar GitHub <noreply@github.com>2025-01-20 10:56:00 +0100
commit37fd7c7a6a991b03507a4a7d5235dad1d4e6a958 (patch)
tree379ca9362cc322516a282306f39ab52f29f89d78 /internal/cache
parent[chore]: Bump github.com/gin-contrib/cors from 1.7.2 to 1.7.3 (#3661) (diff)
downloadgotosocial-37fd7c7a6a991b03507a4a7d5235dad1d4e6a958.tar.xz
[bugfix] Store LastModified for domain perm subs + send as If-Modified-Since (#3655)
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/size.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cache/size.go b/internal/cache/size.go
index 4cca91666..24101683a 100644
--- a/internal/cache/size.go
+++ b/internal/cache/size.go
@@ -372,6 +372,7 @@ func sizeofDomainPermissionSubscription() uintptr {
FetchedAt: exampleTime,
SuccessfullyFetchedAt: exampleTime,
ETag: exampleID,
+ LastModified: exampleTime,
Error: exampleTextSmall,
}))
}