From: Pak R. <pak...@gm...> - 2014-01-02 03:11:57
|
Hi all: I have been investigating a bit about increase of page loading time and it seems like we can improve it if we store images in a subdomain. I attach some links I found about it: http://css-tricks.com/images-on-a-subdomain/ http://www.techinfoblog.net/host-images-on-sub-domain-to-increase-page-load-speed-of-your-wordpress-blog/ http://www.inmotionhosting.com/support/edu/opencart/319-using-a-subdomain-to-store-your-images-in-opencart http://cathyreisenwitz.com/blog/2010/11/15/image-seo-host-images-on-subdomain-or-subfolder/ With more and more scripts in webERP using images, I wonder if it makes sense we study this option. I thing the only change in webERP should be changing the $_SESSION['part_pics'] to a absolute address instead of relative, but not sure if there are problems related to the use of absolute addresses We should be able to access images in paths like: $_SESSION['part_pics'] = "http://images.mydomain.com/" $_SESSION['part_pics'] = "http://images.mydomain.com/webERP" $_SESSION['part_pics'] = "http://images.anotherdomain.com/" Does it make sense to you? Regards, Ricard |