| ||||||||||
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 |
#31
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
Can anyone help us in setting the MaxCDN ? for caching the site images, product images, js and css files?
__________________
Version 4.3.2 |
|||||||
#32
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
HI, my site has over 150 thousands items and i have filters which was created by xcart, however the filter somehow is very slow and sometime crash with database of sql Error code : 1064. my question is will MaxCDN help my situation, thanks
albert
__________________
X-Cart Gold 4.6 |
|||||||
#33
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
albertchui - MaxCDN can't help you with sql Error. Code 1064 means there is syntax error somewhere. Post your question here http://forum.x-cart.com/forumdisplay.php?f=13 , so SQL gurus can help you.
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
#34
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
I started to use MaxCDN, but I noticed that detail images would no longer pop up while MaxCDN was activated (via smarty code), nothing would happen at all when you click the view detail images. So I put the original smarty.php code back and immediately can view detailed images.
Anyone know why MaxCDN would effect the detailed images popup function? Thanks xcart 4.4.2 My code: // WCM - MaxCDN Implementation if ($_SERVER['HTTPS'] != 'on') { $smarty->assign("SkinDir","http://mydomaincdn-url/skin1"); $smarty->assign("ImagesDir","http://mydomaincdn-url/skin1/images"); } else { $smarty->assign('ImagesDir', $xcart_web_dir . $smarty_skin_dir . '/images'); $smarty->assign('SkinDir', $xcart_web_dir . $smarty_skin_dir); }
__________________
Red Hat Linux/Apache |
|||||||
#35
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
There are two threads about this going right now.. Ugh.
The code, I think, that has to be edited is the code for the AltSkin in smarty.php -- i just can't figure it out.
__________________
Version 4.4.3 & 4.2.2 FreeBSD P4 3.2 4 gig ram 300 gig SATA |
|||||||
#36
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
I can't get MaxCDN to work. When I enable it, I get an all text website, no images. If I go into https://www.domain.com, it is all back to normal, so that tells me the code is bypassing https pages, which is good.
I tried this with and with out public_html in the path. Same results. And of course, I changed "mydomain". Quote:
Quote:
Quote:
In my MaxCDN CP Quote:
Can anybody help?
__________________
v4.7.12 v5.4.x (In Dev) |
|||||||
#37
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
Okay, I got it mostly working. I ended up having to use url xxxxxxxxxxxxpullzone.mydomain.netdna-cdn.com instead of the maxcdn.mydomain.com in smarty.php.
I still cannot get the images to show up. T, P or D. Some will show from a cat directory and C, but not the others.
__________________
v4.7.12 v5.4.x (In Dev) |
|||||||
#38
|
|||||||
|
|||||||
Re: MaxCDN Content Delivery Solution?
This just in...
The reason I had to use the temp. URL was DNS has to do it's thing before the other URL will work. Here is what I ended up with that finally brought my images up. Code:
Putting /images at the end made it work. All fixed and running now.
__________________
v4.7.12 v5.4.x (In Dev) |
|||||||
#39
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
Jon,
Does this same maxcdn code work in 4.4?
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
#40
|
|||||||||
|
|||||||||
Re: MaxCDN Content Delivery Solution?
It's a bit different on 4.4 but the principle is the same, just the exact code is a bit different. Probably this would work:
FIND: Code:
REPLACE WITH: Code:
|
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|