By Zeosing on Thursday, 20 March 2014
Likes 0
Views 1.5K
Votes 0
We are in the middle of developing a projet and we have some questions about CDN integration with easy social.
This web site have a lot of traffic ( we are building the v.3 ) , tipically about 1000 users online at same time , and in the future this numbers will increase for sure, because is a videogame website, and the related videogame is being developing right now, so when reaches the market the trafic will be about 5-6 times greater ( according developing studio).

With this data the site now is using Easyblog and EasyDiscuss, with a CDN integration and cache optimization and runs perfect. Now we have 3 CDN resources provided by Akamai , one CDn for Images, another for CSS files ( and mixed documents like .pdf, .doc etc ) and the last a CDN for .js files. After this "big" explanation our question is:

In the v.3 we wil use this three CDN resources , but for Easy social ? , I only see the option to set in EasySocial ONE CDN resource , no the questions:

  • Would be better to configure a Fourth CDN resourse to serve only EasySocial files?
  • We can serve the for the other configured CDN resources ?
  • We use CDN for joomla to manage CDN Resources so, the option in Easy social configuration in wich case will be so set up ?


As always thanks for all the help, and by or part we read de EasySocial Docuemntation but we dind´t find noting about CDN optimization, and porperly configuration.
Hi Zeosing, I would recommend using "CDN for Joomla" together with the "Client-Side CDN" enabled on the EasySocial configuration.

- Given your requirements like multiple CDN, I think "CDN for Joomla" fits your needs. EasySocial CDN settings will complement CDN for Joomla!.
- What "Client-side CDN" does is just to make sure that after a page is loaded on the page, subsequent JS files are loaded with CDN urls.

See attached screenshot:
http://screencast.com/t/mD2oPTTYXpfF
·
Thursday, 20 March 2014 14:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the help, so , the best solution is mantain the 3 CDN resources , and in EasySocial config put the url of the CDN we use for .JS files ?

Thanks.
·
Thursday, 20 March 2014 14:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, that's right, Zeosing
·
Thursday, 20 March 2014 15:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks a lot Jensen.
·
Thursday, 20 March 2014 15:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating
·
Thursday, 20 March 2014 15:54
·
0 Likes
·
0 Votes
·
0 Comments
·
I am very interested about how con configure a CDN to use with EasySocial and EasyBlog. Any blog or docummentation to start with AmazonS3?
·
Friday, 21 March 2014 03:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Tutorial

If you need more help, please let me know.
·
Friday, 21 March 2014 04:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Zeosing,

I am interested in loading also .css and javascript, therefore I have installed CDN for Joomla. Images, CSS are correctly indexed in the cloudfront domain but I have a problem with .js files because the url is not correct since it appears the main domain before de clouldfront domain so I suppose that I am not configuring properly the cloudfront distribution. The same happens if I enable the EasySocial options for CDN with the domain. Any suggest?
·
Friday, 21 March 2014 06:14
·
0 Likes
·
0 Votes
·
0 Comments
·
In CDN for joomla, are you select js files? and add the cdn url in easy social config cdn .
·
Friday, 21 March 2014 06:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Zeosing
·
Friday, 21 March 2014 10:44
·
0 Likes
·
0 Votes
·
0 Comments
·
I am very interested in resurrecting this discussion if possible because this is the closest thing I have found here to what I am doing.
At https://www.starch-smart.com I have set up Three CDN pulls using Amazon CloudFront for the CDNand the NoNumber CDN for Joomla.
These are organized into three distributions using the same 'sections' that there were in NoNumber CDN for Joomla:

Images
Documents
Web Files (CSS and JS)

I am wondering how to set up my CDN Settings in System Preferences:
Enable CDN: Should I set this to Yes? Currently it is set at No.
CDN Url: I assume I leave this blank as I have three CDN urls all of which are CloudFront.net urls.
Client-side CDN: Should I be setting this to Yes? Currrently it is set at No.
I am also using the Amazon S3 option for my EasySocial Media files although I think that stopped working awhile back because there are a lot of images in my filesystem that have not somehow made it to the S3 bucket. But, that is a separate issue... :-) Although I could be grateful if this could be checked!
My main questions are:

How to configure the CDN settings in EasySocial as I asked above seeing as how I really have NoNumber CDN for Joomla handling that?
How to enable changes to Discussions or Social Posts of Blogs to be seen immediately on the service?

I am wondering if there is a way to set up my CloudFront so that the ismod (modification date) is checked each time a user comes to an HTML page.
Or, Do I need to enable some sort of url based versioning in my Joomla and at Amazons CloudFront.net?
Right now changes can't be made and seen immediately. I also have a bunch of boilerplate expires headers in the .htaccess file.
Thank you for anybody that knows how to make this work properly.

Sean Carney
·
Saturday, 19 April 2014 07:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

I have already replied you on your other thread that you have created. Please do refrain from creating multiple posts as this will only slow down your support requests.
·
Saturday, 19 April 2014 13:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much for that answer. I just configured my CDN settings as you instructed. I also have three distributions.

I do have a problem where I must have done something wrong in my CDN setup because I am unable to see changes that are made to my site for a LONG time. The only way to see the changes is to turn OFF the NoNumber CDN for Joomla. Then my changes are visible right away. But, as soon as I put back the CDN then the older files show.

I figured that maybe I need to modify some of the expirations in my .htaccess file and wonder which it should be.

I was always of the opinion that every time an html page is requested a check would be made of a modification date and if the file on my server is newer then the new page would be served.

My concern is that people will make a posting to their wall or to a forum discussion and that will be cached and then when they come in to correct or change that documents they will not see the changes. That is what has happened to me doing some tests. Any advise will be much appreciated to solve this puzzle. :-)

Sean Carney
·
Sunday, 20 April 2014 09:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark. Ouch. I am sorry. I replied here when I was supposed to reply in the other thread.
Momma said there would be days like this!
Sean
·
Sunday, 20 April 2014 09:52
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Sunday, 20 April 2014 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post