| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
MaxCDN Content Delivery Solution? | ||||
|
|
Thread Tools |
#41
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Also on 4.4, if you are using the css and js optimizer your site will probably not render properly with maxcdn implemented in this way. You would want to optimize the css and js, create a standalone file, and modify your templates to link to that standalone file instead of all the tons of files that x-cart now uses (not an easy task).
|
|||||||||
#42
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Great. Thank you! I am also curious about the maxcdn handles the new css and javascript optimization in 4.4. I'm implementing a site today, so we'll see. . .
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
#43
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Ok. I've been working on installing maxcdn for a 4.4 site. However, i am using the "speed-up" settings in the admin for javascript and css.
Any idea where i might find the code to change it so those speed up files are also pulled from the cdn? Or is that even possible? Thanks in Advance! P.S. If I find them myself first. . . i'll post it here.
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
#44
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
On 4.1.12 in func.files.php
if (($type == 'T' OR $type == 'P') AND $_SERVER['HTTPS'] != 'on') { $image_path = str_replace('/home/user/public_html/images/','http://skin1.mydomain/images/',$image_path); return str_replace('$http_location','',$image_path); } Works Great, BUT, I need a different scheme for product and category pages. I've tried. for example. if ($productid AND ($type == 'T' OR $type == 'P') AND $_SERVER['HTTPS'] != 'on') { $image_path = str_replace('/home/user/public_html/images/','http://skin1.mydomain.com/images/',$image_path); return str_replace('$http_location','',$image_path); } and dozens of other possible variables, it would appear they are not available in func.files.php. Anybody have a solution?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#45
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Quote:
I guess I should elaborate, I feel I might not of been clear enough. What I want to accomplish is separate sub domains for images based on whether the customer is on a product page, a category page, or the home page. In func.files there is no code to make this available. I want to know, with the least amount of overhead, how to make something available to make the distinctions.
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#46
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
in 4.4 has anyone figured out what files need to be changed so product detailed images, thumbnails are served from maxcdn?
__________________
Xcart Pro version 4.4.3 |
|||||||
#47
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
The code below only partially works. If there is an image file directly mentioned in your template files, that gets converted. But all the image files, referenced in CSS as backaground images etc and once you aggregate css and javascript do not work. they remain to be served from original location.
I used to have MAx CDN working perfectly fine in 4.2. Now since 4.4 still struggling to figure out. Quote:
__________________
Xcart Pro version 4.4.3 |
|||||||
#48
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
I did what's in the original thread. But it doesn't work for product thumbnails and detailed images, i.e, images/T/..., images/D/..., etc. Am I missing anything?
I'm running X-Cart 4.3.2.
__________________
all the best, Wubi ::::::::: xcart gold v4.3.2 with lots of customizations Linux Php 5.2.4 MySQL: 4.1.22-standard |
|||||||
#49
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
Quote:
Any idea if this has been rolled out downunder yet at all?
__________________
Multiple instances of X-cart |
|||||||
#50
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Nothing in Australia yet that I know of. There were plans to expand, but nothing seems to have been done to move forward on this.
I know that the branch for Asia was a long time coming, but they now do have a location in Singapore. I've not even had an email about if they're doing beta tests in Australia yet, but I'll drop an email to my contacts and see what I can find out for you.
__________________
Conor Treacy - Big Red SEO - @bigredseo Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding! If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet. Omaha SEO Office with National & Local SEO Services Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance |
|||||||||
|
|||
X-Cart forums © 2001-2020
|