small improvements in the webdev resources

Usage of $_SERVER['PHP_SELF'] on links referring to the current page.
The Expires header is generated dynamically, which makes it easier to
grasp the behaviour of the browser.