X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Cookieless Static Subdomain - Moving Content Folder (https://forum.x-cart.com/showthread.php?t=77636)

CCP 02-13-2020 10:38 AM

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.

memoto 02-17-2020 10:07 PM

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).

CCP 02-18-2020 01:33 PM

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.


All times are GMT -8. The time now is 10:33 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.