WordPress.org

Forums

WP-Filebase Download Manager
Thumbnail Performance Issue (2 posts)

  1. PurpleNurple
    Member
    Posted 2 years ago #

    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.: http://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.: http://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]

    http://wordpress.org/extend/plugins/wp-filebase/

  2. PurpleNurple
    Member
    Posted 2 years ago #

    Do you have any plans to make thumbnail display more efficient? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Filebase Download Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.