Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-11-25 05:07:33

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

MAXCDN

Anyone have a HOWTO on implementing MAXCDN into ASP?

Offline

#2 2013-11-25 10:01:07

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: MAXCDN

It works exactly like any other CDN. Edit libraries/cdn.php and also edit libraries/bootstrap.php and uncomment the line with cdn.php.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2013-11-29 07:29:37

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: MAXCDN

How do i implement the follow in the .cdn.php... i just want to use it to serve java,js, and images.

freeazztube.duttyrock.netdna-cdn.com
// This file is used to configure CDN, every option is documented. Please read carefully
// before enabling anything in this file. Every file needs to preserve the orignal path
// on the remote server, eg: if you use a separate server, the path for model images will
/// need to be http://model.domain.com/media/pornstars/.

/**
 * CDN_URL will define the CDN URL or SEPARATE SERVER url for you CSS, Javascript and Image
 * files that can be found in /templates/your-template/{css,js,images}. These files need to
 * be uploaded manually to your CDN server (service), before you can use this feature.
 *
 * Uncomment the line below to enable CDN/Separate Server.
 */
//define('CDN_URL', 'http://static.domain.com');

// documentation to come, this is basically same as multi-server
//define('CDN_VIDEO_URL', '');

/**
 * CDN_THUMB_URL will define the CDN URL or SEPARATE SERVER url for your video thumbs. You can
 * configure the separate server FTP or CDN server credentials in:
 *
 * Admin -> Video -> Configure -> Thumbs
 *
 * Uncomment the line below to enable CDN or Separate Server for video thumbs
 *
 */
//define('CDN_THUMB_URL', 'http://thumbs.domain.com');

/**
 * CDN_PHOTO_URL will define the CDN URL or SEPARATE SERVER url for your photo images. All images
 * related to photos will be served from the URL defined here (including photo thumbs, album covers,
 * resized photos, original photos). You can configure the separate server FTP or CDN credentials in:
 * 
 * Admin -> Photo -> Configure -> Upload
 *
 * Uncomment the line below to enable CDN or Separate Server for photos
 *
 */
//define('CDN_PHOTO_URL', 'http://images.domain.com');

/**
 * CDN_MODEL_URL will define the CDN URL or SEPARATE SERVER url for your model images. All images
 * related to models will be served from the URL defined here. You can configure the separate server
 * FTP or CDN FTP credentials in:
 * 
 * Admin -> Model -> Configure -> Photo
 *
 * Uncomment the line below to enable CDN or Separate Server for model images
 *
 */
//define('CDN_MODEL_URL', 'http://models.domain.com');

/**
 * CDN_USER_URL will define the CDN URL or SEPARATE SERVER url for your user avatars. All images
 * related to models will be served from the URL defined here. You can configure the separate server
 * FTP or CDN FTP credentials in:
 * 
 * Admin -> Model -> Configure -> Photo
 *
 * Uncomment the line below to enable CDN or Separate Server for model images
 *
 */
//define('CDN_USER_URL', 'http://users.domain.com');

Offline

#4 2013-11-29 08:51:52

DuttyRock
Member
Registered: 2011-11-05
Posts: 740

Re: MAXCDN

Might have gotten it right since im getting reports from cdn. I uncommented an added url here "//define('CDN_URL', 'http://static.domain.com');" also i uncommented //require LIBRARY_DIR.'/cdn.php'; in bootsrap.

Offline

#5 2013-11-29 12:53:41

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: MAXCDN

Yeah, thats how you do it.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB