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

Cached Image expiry time #14

Closed
karmarcharger opened this issue Sep 14, 2022 · 1 comment
Closed

Cached Image expiry time #14

karmarcharger opened this issue Sep 14, 2022 · 1 comment

Comments

@karmarcharger
Copy link

image
Does this setting means that the images uploaded will vanish eventually? what are the variables that can be used in this? how to make the image uploaded not vanish at all?

@CaramelFur
Copy link
Owner

This setting only governs the expiry time of transcoded images.
For example when you request a webp variant of an image, it will convert this image to webp and cache the result. This settings makes it such that this cached result will be deleted after 7 days.
Making this shorter saves on disk space, but will cost more processing power. And making it longer will do the inverse.

Valid values are Years, Year, Yrs, Yr, Y, Weeks, Week, W, Days, Day, D, Hours, Hour, Hrs, Hr, H, Minutes, Minute, Mins, Min, M, Seconds, Second, Secs, Sec, s, Milliseconds, Millisecond, Msecs, Msec, Ms. But the default value of 7 days is sufficient for most purposes.

On a sidenote: It is possible to make images expire after a certain time period, but this setting is configured for each invidual image from the image view screen. By default images never expire.

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