modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Browser File Tree phpThumb requests #10270

Open herooutoftime opened 11 years ago

herooutoftime commented 11 years ago

herooutoftime created Redmine issue ID 10270

When changing directory in file tree in MODx-Browser all preceding images will be processed by phpThumb once again. When dealing with lots of images this affects performance, especially on shared enviroments with certain limitations.

Easy to reproduce: Just click through your file tree and check your requests. Navigate to a folder with images, afterwards to either an empty folder or folder without images.

herooutoftime commented 11 years ago

herooutoftime submitted:

A quickfix

In modx.view.js around line 430


this.store.removeAll();