Jump to content

PHP CDN


br0ken

Recommended Posts

I'm trying to write my own CDN to get an A rating on Y-Slow. I've put a script on another server that takes a URL in the query string. It then fetches that file and saves it on the server before sending it the client. The script checks each time to see whether it has a copy of the file before retrieving it, and if it does, it sends it's cached copy. This works well but for some reason Y-Slow still says it isn't on a CDN. Does any one if there is anything else I need to do for it to be seen as a CDN? I've read up on it but it seems that having the content on a different server should be enough.

 

Thanks in advance :)

Link to comment
https://forums.phpfreaks.com/topic/186799-php-cdn/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.