fix(ui): küçük resim URL'sinden önbellek kırıcıyı kaldır
Önbellek kırıcı (cache buster) parametresi kaldırıldı. Sunucu artık Cache-Control/ETag başlıkları ile tarayıcı önbelleğini yönetecek.
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
if (!item.thumbnail) return null;
|
||||
const token = localStorage.getItem("token");
|
||||
const separator = item.thumbnail.includes("?") ? "&" : "?";
|
||||
return `${API}${item.thumbnail}${separator}token=${token}&v=${Date.now()}`;
|
||||
// Cache buster eklemiyoruz; server Cache-Control/ETag ile tarayıcı cache'i kullanacak
|
||||
return `${API}${item.thumbnail}${separator}token=${token}`;
|
||||
}
|
||||
|
||||
function formatDuration(seconds) {
|
||||
|
||||
Reference in New Issue
Block a user