3

I am using ImageCache to generate several image styles for certain uploaded pictures. However, the site is going to be pretty high-load, so it might be more resource-efficient, if those sizes were created once the file is uploaded, not on first display event. Is there any way meant to do this without having to use some kind of crawler? Thank you!

4

2 回答 2

1

我认为您可以尝试创建自定义 cron 函数来获取所有最新上传的图像并构建图像缓存版本。

在这里检查非常相似的问题:https ://drupal.stackexchange.com/questions/38/rebuild-imagecache 。

于 2013-03-15T08:44:15.970 回答
1

似乎有一个模块: https ://www.drupal.org/project/imageinfo_cache

于 2014-08-18T15:18:26.710 回答