1,进入magento后台->System->Cache Management

2,進入後台->Imaclean->Manage Items->Refresh查看有無垃圾圖片

如果刷新后有垃圾圖片列出,則點選Select All,action選擇Delete再按Submit按鈕刪除無用圖片。

3,Magento数据库迅速膨胀,主要是由于一些日志数据的剧增,可以通过Magento自身的cron定时清理日志。另外一种又快又好的办法是执行SQL清理,如下:
truncate dataflow_batch_export;
truncate dataflow_batch_import;
truncate log_customer;
truncate log_quote;
truncate log_summary;
truncate log_summary_type;
truncate log_url;
truncate log_url_info;
truncate log_visitor;
truncate log_visitor_info;
truncate log_visitor_online;
truncate report_viewed_product_index;
truncate report_compared_product_index;
truncate report_event;
set foreign_key_checks = 0;
truncate index_process_event;
truncate index_event;
set foreign_key_checks = 1;
(责任编辑:最模板) |