They are compiled even if you are not using code behind pages.

If you change the code in the file it is compiled on the first request and is cashed. (if i remember right)