Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Web Page Caching: Timestamps, HTTP+HTML,touch (Re: Website Update Prompt -II)
- Date: Tue, 24 Jan 2006 16:48:16 +0900
- From: bruno raoult <bruno@example.com>
- Subject: Re: [tlug] Web Page Caching: Timestamps, HTTP+HTML,touch (Re: Website Update Prompt -II)
- References: <ea4e853e0601232104l37ba90eah41cce92bd4c81173@example.com><20060124004648.45912c77.jep200404@example.com>
- User-agent: Thunderbird 1.5 (X11/20051201)
Jim wrote: > Also, learn the "touch" command. If you are messing around with > file timestamps, how to you restore an old version of a file > with the old timestamp? > > cp -p > mv > tar (backup and restore) > > The "make" command relies on file timestamps. There could be also (even unlikely) a timezone/time issue, if wrongly set for instance. This does not give days difference, normally, but easily hours. For instance, the www user (apache or www, depending on distribs) could have a different timezone from your own user. This is easy to find with your "touch" (user) and "wget" (apache) commands. Yes, I know, Linux (and all Unixes) know this well, for local files. This could happen anyway for file servers and different clients. For instance, if you "vi" a file on a file server, the time stamp would be set by the server. But if you "touch" it, the time is given by the client. That is why there could be some inconsistencies. Your remark about "make" just remembered me that story: An NFS server, with 2 different clients, one of them (clients) with wrong time settings. The "make" command simply did not work on client #1 if you "touched" a file with client #2 (time set on the file was still in the past for client #1). Takes only a second to check, anyway. br. -- GPG Key: 653514E5 (http://www.raoult.com/gpg) -- One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them In the land of Mordor where the Shadows lie.Attachment: signature.asc
Description: OpenPGP digital signature
- References:
- [tlug] Website Update Prompt -II
- From: Lyle H Saxon
- [tlug] Web Page Caching: Timestamps, HTTP+HTML,touch (Re: Website Update Prompt -II)
- From: Jim
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] font encoding for mozilla
- Next by Date: Re: [tlug] Bittorrent Newbie
- Previous by thread: [tlug] Web Page Caching: Timestamps, HTTP+HTML,touch (Re: Website Update Prompt -II)
- Next by thread: [tlug] Linux Format magazine
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links