Learn about Centmin Mod LEMP Stack today
Become a Member

Testing image proxying

Discussion in 'Forum Feedback & Suggestions' started by eva2000, Jun 4, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    53,558
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    [​IMG]

     
    Last edited: Nov 26, 2015
  2. Matt

    Matt Well-Known Member

    927
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    4:46 PM
    1.5.15
    MariaDB 10.2
    Image proxying works really well. Not sure how pagespeed is going to handle it though, because the image URL is re-written through proxy.php

    upload_2014-6-4_7-19-32.png
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,558
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Actually i excluded proxy.php from pagespeed so it won't rewrite image urls, should still be the original image being proxied :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,558
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    retesting Digitalpoint Image Proxy with PHP 5.6

    seems to give blank images if removing the extension png check in DigitalPointImageProxy/Route/Prefix/Proxy.php

    PHP:
                    // Better Cloudflare caching in data centers
                    
    if (!$extension)
                    {
    //                      $extension = 'png';
                    
    }
    [​IMG]
     
  5. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:46 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    @eva2000 do you use Shawn addon or you just use classic Xenforo proxy settings in Admin Control panel?
    If only you use default options in ACP, what options did you set?
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,558
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Default XF image proxy as Shawn's one breaks for me since PHP 5.6 update heh
     
  7. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    5:46 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    What options did you set in ACP?
     
  8. eva2000

    eva2000 Administrator Staff Member

    53,558
    12,135
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,678
    Local Time:
    1:46 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    set a Image and Link Proxy Secret Key and check proxy images only