Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

[Tinhte] Image Attachment Optimization & CDN Support 2.2.11

Adding caching headers for browsers, saving queries & faster loading for Image Attachments

  1. XenForo Rocks
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    NOTE: THIS ADDON CURRENTLY DOESN'T WORK WITH XENFORO PROXY FEATURE.

    Imagine a thread with 100 image attachments, when a user loads the page, these images generate 100x6 = 600 queries in my DB servers (in full-size image mode). This's crazy!

    This addon reduces the usual 6 queries per image to 1 per image, resulting in 83% less queries for busy, images-focused websites. Images will also be cached in client browsers to improve performance further.

    WHAT DOES IT DO?
    1. Force image attachments work with Guest permission (Guests can view full image attachments without login logged in permission).
    2. Decrease to minimum queries for Image Attachment Display, in our test, we can save from 6 to 1 query per an image (in case of guests or logged in users without "Remember option").
    3. Add caching headers to images. Browsers won't load these images again if the same page reloaded.
    4. (New) Support CDN for attachment images. You can serve these images via CloudFront, MaxCDN or other CDN services.
    screen-shot-2012-08-04-at-9-44-02-am-png.32467.png

    To have all benefits of using this add-on, you should turn on Xenforo Caching feature for your forum (memcached, xcache,...).



    screen-shot-2012-07-29-at-9-12-32-pm-png.32232.png

    Images

    1. screen-shot-2012-08-04-at-9-44-02-am-png.32467.png
    2. screen-shot-2012-07-29-at-9-12-32-pm-png.32232.png
    tohaitrieu, onlyonelove, Cr0w and 4 others like this.

Recent Reviews

  1. 5/5,
    Version: 2.2.11
    Thank you so much for adding this great ADDON!