Active
Project:
CloudFront
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2009 at 13:40 UTC
Updated:
25 Jun 2010 at 08:45 UTC
Hi,
I just added the module to one of my sites and did use your functions to added swf data to cloudfront. The only ugly thing is I use preset 1 to upload anything even the data is not from imagecache.
Basically it is very easy but this module is so bound to imagecache. My recommendation is that you change the "imagecache_preset_id" to a neutral token so you can add any string that will be used to name a folder inside of S3.
And than you could make a new function like cloudfront_imagecache_send_image to cloudfront_send_file that does the job.
Oh and I think adding the upload progress to the cron would be a great idea.
Otherwise thanks for your efforts :)
Comments
Comment #1
vacilando commentedThat would be just lovely.. subscribing!
Comment #2
drupalninja99 commentedYa I would love for this to work with any type of file. The CCK integration is interesting. I have been wanting full file system integration but specifying cloudfront per file field would be interesting and maybe more flxible.
Comment #3
cparrish817 commentedSubscribing
Comment #4
moset commentedSubscribing
+1 for the upload linked to the cron
(would be nice to have also js and css files sent to the cloudfront).
Comment #5
adam_c commentedsubscribing
Comment #6
vacilando commentedSubscribing
Comment #7
hozt commentedIt would be a slick feature to enable CloudfFont support when defining a CCK filetype. This way it would give us the most flexibility and allow any type of file to be served from CloudFront. It may prevent having to run the extra query each time the url for the file is needed. For one url it is not a big deal, but if you have a list of 50 images on a page it can add up.
It would be good to see if there is an existing module that adds options to a CCK file for some sample code. It would be great to find a solution that would work with D6 and D7.
Comment #8
dmurray commentedAgreed, This module would be even more awesome if js and css could be uploaded to S3 and maybe even images loaded by css.
Comment #9
BenK commentedSubscribing...
Comment #10
adam_c commentedI think the CDN Integration module would satisfy everyones needs here.
Comment #11
doublejosh commentedTaking a look at "CDN Integration", but the thing I'm really hoping for is pushing cached CSS files (via the core performance settings) to Amazon for CDN serving. Seems that is among one of the best things to serve offsite.