To protect my css file i encrypted the css link using java script .This works cool,but i had one doubt that my css file will cache when i use the normal specified url with name.css, now the encrypted css link will cache or not?
<Script Language='Javascript'>
document.write(unescape('3%73%22%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A2%2F%3E%09%0A'));
</Script>
Since this will simply result in a CSS element being inserted into the document (or so I guess), which then causes the browser to download the external file as usual, all the usual caching rules apply.