In short: is it worth checking the application variable, for example Application ("WebAppName"), 10-20 times every time the page loads?
Background: (feel free to criticize)
Some of them on my site contain many links and images that cannot use relative URLs due to their inclusion in different paths.
Therefore, they include frequent instances.
<img src="<%=Application("Webroot")%>images\image.gif">
Is accessing an application variable so expensive?
Should I just put the value of Application in some local variable where needed?
IMPORTANT NOTE:
I need my webapp to work fine on the server, either on the root network ("/") or on the virtual website ("/ app").
.