I'd have thought it was better to make a custom importer
you can add that custom importer to the modeladmin, yes. It could try to find the file by path in DB and import it from a "files-to-import" folder if not found.
A lot depends where the files are really. If they're already online somewhere, you can automate the entire process
Otherwise you could upload them and find them as @wmk suggests
They're physically on the same server, so i could get them by the local path. Basically i could write a custom importer while using File::setFromLocalFile ? That would be the most stress-free way indeed
Yep... seems like the best solution in that case
We’re having critical performance issues with pages that contain multiple embedded videos. After digging in with some profiling, it appears this is because the shortcode parser is using CURL (via the Embed module) to fetch remote data about every video when the page is displayed.
We have a blog listing page that is taking 40-60 seconds to load, because it tries to display a text excerpt for each post, which triggers this behaviour. And the individual blog post pages take 10+ seconds to load.
Does anybody know if there is a way to control or disable this behaviour?
is there any chance you can change how the videos are used, e.g. via a video block with custom behaviour? do you need to use shortcodes?
not without completely rewriting a ton of content. We’re just using the regular Content field. Sure I guess we could break it all up with elemental content & video blocks but that’s kind’ve a crazy thing to do at this point