4 ms·
You will often need to dynamically generate all URLs depending on the current state of the page. A common example is an econmerce site where normal pages are HT
by jonknee 14y ago
You will often need to dynamically generate all URLs depending on the current state of the page. A common example is an econmerce site where normal pages are HTTP, but things like the shopping cart and checkout are HTTPS. Your template will need to know to load resources as HTTPS when on a secure page. It's not the end of the world, but certainly annoying.