source: branches/MootoolsFileManager-Update/plugins/MootoolsFileManager/mootools-filemanager/.git/COMMIT_EDITMSG @ 1304

Last change on this file since 1304 was 1304, checked in by gogo, 9 years ago

Reduce roundtrips for image thumbnails.
See:

https://github.com/sleemanj/mootools-filemanager/commit/b39b68cda2d7c9f06cdaaeb2aa6556965ae99604

File size: 1.4 KB
Line 
1Add an option "thumbnailsMustGoThroughBackend" to FileManager.php, it defaults to true (current behaviour).  When set to false, IF and only if a thumbnail of the correct size has been created already, then onView will return the direct thumbnail url, otherwise it will still go through the onThumbnail event to get the thumbnail (the first time).  This is a means to reduce the roundtrips required whe using the POST type of propagateData, it also would reduce server load for normal GET type setups because it cuts down drastically on PHP execution requests and all that entails.
2
3# Please enter the commit message for your changes. Lines starting
4# with '#' will be ignored, and an empty message aborts the commit.
5# On branch master
6# Your branch is ahead of 'origin/master' by 2 commits.
7#
8# Changes to be committed:
9#   (use "git reset HEAD <file>..." to unstage)
10#
11#       modified:   Assets/Connector/FileManager.php
12#       modified:   Source/FileManager.js
13#
14# Untracked files:
15#   (use "git add <file>..." to include in what will be committed)
16#
17#       .svn/
18#       Assets/.svn/
19#       Assets/Connector/.svn/
20#       Assets/Connector/Assets/.svn/
21#       Assets/Connector/Assets/getid3/.svn/
22#       Assets/Connector/Assets/helperapps/.svn/
23#       Assets/Css/.svn/
24#       Assets/Images/.svn/
25#       Assets/Images/Icons/.svn/
26#       Assets/Images/Icons/Large/.svn/
27#       Assets/js/.svn/
28#       Assets/js/milkbox/.svn/
29#       Assets/js/milkbox/css/.svn/
30#       Demos/.svn/
31#       Language/.svn/
32#       Source/.svn/
33#       Source/Uploader/.svn/
Note: See TracBrowser for help on using the repository browser.