Open mmodler opened 3 years ago
Ya, our method had it’s drawbacks too though. Modifications are detached from any system knowledge for one. Craft is an example of someone who does some things right here that’s a mix between two approaches, which is similar In some ways to our new approach in Streams 2. Still fleshing it out. Craft’s performance takes a nose dive however, the more you utilize file variants last I checked. Less of an issue with flat-file DB perhaps.
This is a great list of insights and opportunities to improve asset processing. I opened a new issue that would address the specific presets.
Some design decisions are necessary for an implementation / PR. I'll call the new asset cache method "cache on request"
Should "cache on request" replace the old STATAMIC_ASSETS_CACHE=true or come in as additional / optional method?
Image generation params will be passed in the filename. Allow free combinations without preset like w300-h200-mFit and/or preset names in filenames?
Image cache clear command needed (is think so)? Command syntax?
Invalidation of all image versions if the base asset is deleted?
Most of this is addressed by https://github.com/statamic/cms/pull/6040, which should be coming soon 👍
Hello gentleman, atm we dig into image handling/manipulation a little deeper and i want to ask/discuss some topics:
If we use asset cache and presets, we will run into problems:
If we use asset cache without presets:
Assets cache off:
In our former cms we had the following concept:
Atm i have no idea how to use statamic image handling right - or i just misunderstood some concepts?