Thread: MAX cdn
View Single Post
  #59  
Old 01-18-2013, 07:37 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: MAX cdn

Quote:
Originally Posted by PhilJ
Great guide and confirmed working

For step 4, I had to modify init.php instead of include/func/func.files.php (v4.5.4 Gold)

Phil,

What edit did you make to init.php? I have 4.5.4 gold plus -- I don't think there is a difference in this file??

In your opinion, is it better to do the images (step 4) in init.php (as opposed to /include/func/func.files.php ) ? What is the benefit?

One final step that I failed to discuss: make CERTAIN that you enable robots.txt in the MaxCDN control panel. You do not want duplicate content at the search engines. I believe the crawlers will still find your original images on your site, even if they are all cached to the cdn. Right? Is that how everyone is doing this?

PS -- my page load time is now just over 1.3 seconds (was 4.5 secs+)
To further reduce page load time:

1. CloudSearch needs to use a CDN. I have asked them to do this;
2. Socialize module may be convenient, but it's a resource pig. Too many images, too many http calls. I will work on localizing these resources and getting them to the cdn.
3. Advanced Customer Reviews uses P images on the sidebar, when it only needs a 65px x 65px thumb. I'm working on making this better;
4. I'm sure there are plenty of opportunities to optimize even more, but once we get these elements to the cdn, it's diminishing returns for the effort. A 1 second page load is a zillion times better than 4.5 seconds. hard to take much more off of it.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote