Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Cookieless Static Subdomain - Moving Content Folder
 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 02-13-2020, 10:38 AM
 
CCP CCP is offline
 

Member
  
Join Date: Jul 2012
Posts: 16
 

Default Cookieless Static Subdomain - Moving Content Folder

Is there an easy way to move the X-Cart 5 image, var and other static content folders into a new directory, perhaps called "static"?

Having all the static or generated content in a single folder (with subfolders) would greatly improve my ability to control the performance provided by the server in cooperation with various CDNs.
__________________
Version 4.2.3
X-Cart Gold

Add-on: X-FeatureComparison
Add-on: X-Magnifier
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #2  
Old 02-17-2020, 10:07 PM
 
memoto memoto is offline
 

X-Cart team
  
Join Date: Feb 2018
Posts: 89
 

Default Re: Cookieless Static Subdomain - Moving Content Folder

All the static content is already generated in a single /var folder. Simply work with this directory (the folder you need are /run and /datacache).
__________________
support engineer
Reply With Quote
  #3  
Old 02-18-2020, 01:33 PM
 
CCP CCP is offline
 

Member
  
Join Date: Jul 2012
Posts: 16
 

Default Re: Cookieless Static Subdomain - Moving Content Folder

No it doesn't.

I only uses the /var folder for probably 85% of the content.


I haven't identified all of the cases, but it appears that some Add-on (even ones made by x-cart), don't always use the /var folder.

I've seen category images, banners and a few other images come out of /images folder.

I've also seen templates doing whatever they want, and serving content from the template folders.
__________________
Version 4.2.3
X-Cart Gold

Add-on: X-FeatureComparison
Add-on: X-Magnifier
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:43 AM.

   

 
X-Cart forums © 2001-2020