LostHorizon
Member
- Messages
- 43
- Reaction score
- 2
- Points
- 8
Hi,
Please correct me if I'm wrong: when a user visits a page on the web, he/she's making an HTTP request to the remote server that hosts the web page, the server then fetches the requested page and sends it back to the user's computer to display in the web browser.
Can anybody please explain to me in detail the process when the server's fetching the page (does it make a local copy of the requested page before sending it out over the Internet connection, or does it just access and transmit the page directly?).
The reason that I'm asking this because I've been with many web hosting companies in the past and even though they're using the same Apache server software, but when it comes to displaying the page's file last modification date, some of them display the current date (the date that the user accesses the page) which is INCORRECT (it broke my codes) instead of the ACTUAL date (the date that the page's owner uploaded it to the host server, or the date that he/she last modified it whichever date comes last).
Anyway, in my page, I'm using the standard JavaScript/JScript method "document.lastModified()" which returns the page's file last modification date since I don't want to "hard code" the date. X10Hosting server does display the page's file last modification date correctly (which I'm glad). This brings me to another question is that if there is some way, some settings to configure the server to display the page's ACTUAL modification date?
Looking forward to your explanation and answer,
Thanks a lot.
Please correct me if I'm wrong: when a user visits a page on the web, he/she's making an HTTP request to the remote server that hosts the web page, the server then fetches the requested page and sends it back to the user's computer to display in the web browser.
Can anybody please explain to me in detail the process when the server's fetching the page (does it make a local copy of the requested page before sending it out over the Internet connection, or does it just access and transmit the page directly?).
The reason that I'm asking this because I've been with many web hosting companies in the past and even though they're using the same Apache server software, but when it comes to displaying the page's file last modification date, some of them display the current date (the date that the user accesses the page) which is INCORRECT (it broke my codes) instead of the ACTUAL date (the date that the page's owner uploaded it to the host server, or the date that he/she last modified it whichever date comes last).
Anyway, in my page, I'm using the standard JavaScript/JScript method "document.lastModified()" which returns the page's file last modification date since I don't want to "hard code" the date. X10Hosting server does display the page's file last modification date correctly (which I'm glad). This brings me to another question is that if there is some way, some settings to configure the server to display the page's ACTUAL modification date?
Looking forward to your explanation and answer,
Thanks a lot.