[Plugin: WP-Filebase Download Manager] Thumbnail Performance Issue
-
First I’d like to thank you for the great file manager plugin.
I’ve noticed a performance issue with the way thumbnails are displayed. The link to each thumbnail calls a PHP script (i.e.: https://domain.com/wp-content/plugins/wp-filebase/wp-filebase_thumb.php?fid=198&name=filename.jpg). This is resource intensive, and has a visibly negative effect on average shared hosting (HostGator, 25 thumbnails on 1 page).
It would be better for performance reasons to just use the direct link for the image (i.e.: https://domain.com/wp-content/uploads/filebase-thumbs/filename.jpg).
I’m currently using the following in my .htaccess file as a temporary workaround:
# Workaround for WP-Filebase thumbnail performance issue. # WARNING: This only works if all thumbnails are in one folder (no categories) and outside the "filebase" upload folder RewriteCond %{REQUEST_URI} /wp-filebase_thumb\.php$ RewriteCond %{QUERY_STRING} name=([^&]+) RewriteRule . /wp-content/uploads/filebase-thumbs/%1? [L]
- The topic ‘[Plugin: WP-Filebase Download Manager] Thumbnail Performance Issue’ is closed to new replies.