Organizational Research By

Surprising Reserch Topic

Does use of echo base_url(); to call CSS, images and Javascript files make a website slow?


I am using Codeigniter. I am keeping my images,CSS and Javascript files in a folder called "support" in the document root of my application. So my document root folder looks like this-

.settings
application 
support
system
.buildpath
.project
 index
.htacces

Now my question is will it make my website take time to load as I have to use support/ every time I need to get something from my support folder? Because you see when I am using I am actually calling the full website address.. and I have 7 CSS and 13 javascript files to call from "support" so it will definitely take time to load the website. (Please correct me if I am wrong). If you think by this a website can get slow could you please tell me where exactly should I put my CSS,images and javascript files in. I heard views is not a good place for this.

asked Apr 29, 2015 in codeinither by rahulgii
0 votes
17 views



Related Hot Questions



Government Jobs Opening


...