Hi all…
I’ve been working with CodeIgniter for a while now, and was wondering about something that I haven’t really thought about before. In my view files Ive been doing this:
<?php echo base_url(); ?>public/images/branding/logo.jpgThis generates an absolute URL. What I am wondering is if there is a better way to do this so that the urls generated are relative urls to save on HTTP requests to make my site faster.
Any advice would be greatly appreciated!
Thanks…
Matt