loading files through one file to hide locations

Posted by Phil Jackson on Stack Overflow See other posts from Stack Overflow or by Phil Jackson
Published on 2010-04-06T16:39:24Z Indexed on 2010/04/06 16:43 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

Hello all. Im currently doing a project in which my client does not want to location ( ie folder names and locations ) to be displayed.

so I have done something like this:

<link href="./?0000=css&0001=0001&0002=css" rel="stylesheet" type="text/css" />
<link href="./?0000=css&0001=0002&0002=css" rel="stylesheet" type="text/css" />
<script src="./?0000=js&0001=0000&0002=script" type="text/javascript"></script>
</head>

<body>
    <div id="wrapper">
        <div id="header">

            <div id="left_header">
                <img src="./?0000=jpg&0001=0001&0002=pic" width="277" height="167" alt="" />
            </div>
            <div id="right_header">
                <div id="top-banner"></div>
                <ul id="navigation">
                    <li><a href="#" title="#" id="nav-home">Home</a></li>
                    <li><a href="#" title="#">Signup</a></li>

all works but my question being is or will this cause any complications i.e. speed of the site as all requests are being made to one single file and then loading in the appropriate data.

Regards,

Phil

© Stack Overflow or respective owner

Related posts about httpwebrequest

Related posts about load