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 answers
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in CDN
- CDN Detector Extension / Script
- Vite Serving Libraries without CDN
- Use Next.js project as a script tag in html file
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
- Sellapp integration with React
- Is a CDN service worth it for storing images or can I use the MongoDb and my server to serve them?
- Azure CDN and caching control show TCP_MISS
- Next.jS SSG on s3bucket doesn't work on refresh
- I want to cache cloud function data in to cdn. Whatever i tried is caching in browser only
- How to get statistics about uri in azure
- Can't import PrimeVue InputOpt in CDN project
- how to reduce the website image to 2-5kb per for an ecommerce website?
- CDN for asset delivery with auth, locally run and CI support
- Can't render DataTable using Vue and PrimeVue from CDN
- How can I publish a reusable react component into CDN?
Related Questions in CONTENT-DELIVERY-NETWORK
- Vite Serving Libraries without CDN
- Forward a request coming to my CDN to another server
- Fetch API in DatoCMS doesn't bring all the published posts
- Is there any conflict between using one CDN over another CDN?
- Azure CDN cached content refresh depending on change on origin azure blob storage
- What is a Content Delivery Network and Distributed File System?
- Is there any way to add CSS/JS files dynamically in Django templates?
- If network providers deploy their own CDNs, then how does their CDN play with the Content providers' CDNs?
- Do I need CDN in addition to Amazon S3?
- Cache miss at a CDN edge server
- How do I setup Cloudfront CDN for Laravel application?
- Why isn't a CDN working as it's supposed to be?
- Jenkins pipeline script to checkout code from tfs with credential
- Google AMP Cache and HTTP/2 – Content delivery via HTTP/2 on mobile devices?
- How do CDNs work?
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?
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)
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.