Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 16 to 30 of 37

CDN for attachments

This is a discussion on CDN for attachments within the Bug Reporting forums, part of the vBSEO SEO Plugin category; attachment.php runs on your actual server , however the file is called within your CDN. Therefor CDN doesn't have any ...

  1. #16
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    attachment.php runs on your actual server , however the file is called within your CDN. Therefor CDN doesn't have any requirement to run PHP at all.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  2. #17
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    if run in my server why when I enable CDN for attachments the url for the attachment is from CDN and not for my server ? May be this is a Bug on 3.6.0 RC1 ?

  3. #18
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    It loads from CDN with the same reason as your images , css , js files are loading from CDN
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  4. #19
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    Mert,

    As I explained before this can't be equal.

    As I told you images, css and js files have the same name on Server and on CDN. But attachments has extension .attach/.thumb that attachment.php need process to deliver correct file.

    So we have a BIG difference here.

  5. #20
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    attachment CDN option will only work with pull-type CDN services, where they retrieve attachment from your main server on first request and keep the file in own cache, using it for further requests. That's why URLs are matching regular vB/vBSEO URLs (that, and attachment permissions are the reason why attachment option is disabled by default).

  6. #21
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    Oleg,

    Do i need to configure anything on vbseo to make vbseo able to understand that maxcdn requests to server should resolve to my server and not to maxcdn ?

  7. #22
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    The only other thing is that attachments should be visible to guests (since they will be downloaded from CDN server side with login cookies).

  8. #23
    Member
    Real Name
    Marcus Maciel
    Join Date
    Oct 2006
    Location
    Brazil
    Posts
    78
    Liked
    2 times
    Thanks a lot Oleg you answered all my question.

  9. #24
    Junior Member
    Join Date
    Jul 2011
    Posts
    1
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    The only other thing is that attachments should be visible to guests (since they will be downloaded from CDN server side with login cookies).
    Is any solution available for attachements on private forums? I think you can just add an exception to attachements.php to allow MaxCDN.

  10. #25
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You are not currently showing as a vBSEO owner.

    If you hold a valid license, please open a ticket with your tranasctionID from your payment receipt along with your forum URL so we can assign it to your account.
    http://www.vbseo.com/support/

    If you are working on behalf of someone else as a contractor, they need to add you to their Priority Support list:
    http://www.vbseo.com/usercp/customer_profile/

  11. #26
    kau
    kau is offline
    Senior Member
    Real Name
    Alan
    Join Date
    Aug 2006
    Posts
    104
    Liked
    0 times
    Does anyone have the replacement variable for the CDN of attachments?

    Example we are using find for "href="clientscript" and replace with "href="http://cdn.homebrewtalk.com/clientscript"

    Is there a similiar singular search/replace to CDN attachments?

  12. #27
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You can create a replacement variable like following

    href="attachment.php

    with

    href="http://cdn.homebrewtalk.com/attachment.php
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  13. #28
    kau
    kau is offline
    Senior Member
    Real Name
    Alan
    Join Date
    Aug 2006
    Posts
    104
    Liked
    0 times
    And that works behind the scene or only with vBSEO?

    Example I implemented it at WineMakingTalk which we are able to vBSEO but still running stock vB.

    It shows attachments like this even with that replacement: http://www.winemakingtalk.com/forum/...1&d=1330485577

  14. #29
    kau
    kau is offline
    Senior Member
    Real Name
    Alan
    Join Date
    Aug 2006
    Posts
    104
    Liked
    0 times
    I implemented it on a vBSEO and it did not seem to change the visble URL either.

    http://www.coffeeforum.com/forum/f9/...-machines-615/

    The attachment image shows as:

    http://www.coffeeforum.com/forum/att...msp1100948.jpg

  15. #30
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello Alan ,

    When i try using http://cdn.homebrewtalk.com/forum/at...1&d=1330485577 , it is auto redirected to http://www.homebrewtalk.com/attachme...ium-.jpg?stc=1 , The first issue you may need to solve is disable redirect for cdn.homebrewtalk.com to HomeBrewTalk.com - Beer, Wine, Mead, & Cider Brewing Discussion Community.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. vBulletin 4.x attachments on 3.5.1 pl1
    By janslu in forum Bug Reporting
    Replies: 19
    Last Post: 08-04-2010, 08:14 PM
  2. attachments
    By woodysfj40 in forum Troubleshooting
    Replies: 1
    Last Post: 12-16-2007, 06:11 PM
  3. PM Attachments 3.5
    By Ashley in forum Troubleshooting
    Replies: 10
    Last Post: 03-11-2006, 02:47 PM
  4. Attachments in PM
    By infordig in forum Troubleshooting
    Replies: 3
    Last Post: 12-11-2005, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •