I've read up on th ebenefits of a content delivery network and noticed that all sites with growing users would definitely require one. I need to know how can I set it up for my site, as in do I need to restructure my websites code for this matter, who do I need to contact for this etc etc - you know a simple 101 on setting up a content delivery network. I found a few 'plugins' for setting up CDN's on wordpress and Joomla. Is there anything that could be used for a generic solutions? My application is Php Based, uses the Zend Framework and loads of javascript plugins and includes google maps and image uploads...
How do I set up a content delivery network for my site?
8.5k Views Asked by Ali At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in CDN
- What happen when user location is near the Origin server more than CDN server?
- Track how many of our visitors that use a CDN?
- Change assets urls to cdn adding absolute path in Grunt
- Does CDN know which website the client is visiting when fetching jquery.min.js or other resource from CDN?
- CDN and Server Architecture : Picture upload feature for my web app
- Redirect image requests from locations on origin domain to CDN domain
- Not able to serve different robots.txt for CDN77
- ASP.NET MVC multiple virtualpath Bundle with CDN
- $_SESSION failing when calling PHP file through a CDN
- What is the cause of website waiting times?
- How to add CDN with Aurelia-CLI and RequireJS
- Is there a CDN service in Bluemix?
- CDN with fallback in Symfony twig using assetic
- Jquery Google CDN not recognised when loaded?
- How to use github repo as like CDN server for uploading assets file?
Related Questions in CONTENT-DELIVERY-NETWORK
- IE9 blocking jQuery CDN
- Fetch API in DatoCMS doesn't bring all the published posts
- How do CDNs work?
- Jenkins pipeline script to checkout code from tfs with credential
- Why isn't a CDN working as it's supposed to be?
- using a content delivery network for user uploaded images?
- How do I set up a content delivery network for my site?
- How to load fall back for different jQuery plugins when CDN is down
- Do I need CDN in addition to Amazon S3?
- What is the standard propagation time for a CDN?
- Using conditional statements for CPLEX resolver
- What is a Content Delivery Network and Distributed File System?
- How do I setup Cloudfront CDN for Laravel application?
- Expression Engine using minimee vs using a CDN for assets
- Amazon AWS and usage model for S3 storage
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you're using Zend, you should first be restructuring your helpers so that the base url for resources (images, scripts etc) are taken from a config variable.
Make sure all the resources linked in your views/layouts either go through a helper or are prepended with the base url.
For your javascript libraries, I suggest you start pointing them to either Google or Microsoft. Here's the link for the Google JS CDN and here's the Microsoft CDN
Your next step would be to start serving the rest of your resources through a CDN. This depends on your host and your configuration. Amazon, for example has their own CDN so if you're running on EC2 you can use that. Basically look at the options your host offers.
There are lots of CDN options out there with differing options, some free, some not. See this entry on Wikipedia for a list of CDNs that are free/paid/p2p. Also, read the read of the article as a primer.
And something you can start doing immediately : http://www.coralcdn.org/
Setting up coral is not complex at all. You just need to craft your URL to point to their network. If you have already layout/view this is a trivial matter.