Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The current status of downloading images from cache #270

Open
eight04 opened this issue Oct 27, 2021 · 4 comments
Open

The current status of downloading images from cache #270

eight04 opened this issue Oct 27, 2021 · 4 comments

Comments

@eight04
Copy link
Owner

eight04 commented Oct 27, 2021

Since Firefox and Chrome both implemented cache partitioning, extensions can't download images from cache anymore.

Firefox:

Chrome:

Test suite

https://github.com/eight04/webext-hit-the-cache

Firefox workaround

You can turn off cache partitioning by setting privacy.partition.network_state to false in about:config.

Chrome workaround

Turn off this feature via the CLI option: --disable-features=SplitCacheByNetworkIsolationKey.

@michael-ziedalski
Copy link

michael-ziedalski commented Nov 5, 2021

Hi! As a long-time Firefox user who all too-often leaves image tabs open until the hosting websites remove them, I found this addon hoping it would be able to directly access the cache.

I checked my about:config, and privacy.partition.network_state is already set to false, so that workaround does not work. Could something be interfering with the workaround?

@eight04
Copy link
Owner Author

eight04 commented Nov 5, 2021

leaves image tabs open until the hosting websites remove them

The cache might already expire in this case. You can visit about:cache and see if the image is still there.

@michael-ziedalski
Copy link

michael-ziedalski commented Nov 6, 2021

In that case, is there anywhere in Firefox's documentation where the images are stored, since it seems the images are still definitely being held somewhere.

@eight04
Copy link
Owner Author

eight04 commented Nov 6, 2021

In that case, is there anywhere in Firefox's documentation where the images are stored, since it seems the images are still definitely being held somewhere.

IDK. Why do you think the image is still held somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants