can i use “http header” to check if a dynamic page has been changed
问题 you can request the http header to check if a web page has been edited by looking at its date but how about dynamic pages such as - php, aspx- which grabs its data from a database? 回答1: Even though you might think it's outdated I've always found Simon Willison's article on Conditional GET to be more than useful. The example is in PHP but it is so simple that you can adapt it to other languages. Here it is the example: function doConditionalGet($timestamp) { // A PHP implementation of