Ignore source/extension, tracker icon and thumbnails requests from image queue

The server is not requesting these images through an extension; thus, it is not a problem to send them directly to the server since there is no problem of getting the server "stuck" due to extension rate limits.
This commit is contained in:
schroda
2025-11-22 17:28:56 +01:00
parent 9ed05f3fc0
commit 890b304b4a
11 changed files with 60 additions and 22 deletions

View File

@@ -38,6 +38,7 @@ export interface SpinnerImageProps {
shouldDecode?: boolean;
useFetchApi?: boolean;
disableCors?: boolean;
ignoreQueue?: boolean;
priority?: Priority;
@@ -52,6 +53,7 @@ export const SpinnerImage = ({ ref, ...props }: SpinnerImageProps) => {
shouldDecode,
useFetchApi,
disableCors,
ignoreQueue,
src,
alt,
onLoad,
@@ -111,6 +113,7 @@ export const SpinnerImage = ({ ref, ...props }: SpinnerImageProps) => {
shouldDecode,
useFetchApi,
disableCors,
ignoreQueue,
});
if (!imageRequest.fromCache) {