Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [last-modified]

The tag has no usage guidance.

1
vote
1answer
34 views

XFS Folder Dates

I have a server running Centos 7, kernel 3.10.0-514.16.1.el7.x86_64, Samba 4.5.2, and XFS. We archive documents in a bunch of small .tif files, so XFS works great for us. The folder is mounted in ...
0
votes
1answer
493 views

Cron job execution time

I added a job for backup to my cron jobs, using crontab -e: 0 0 * * * tar -czf /somewhere/backup.tar.gz --exclude='sth/backup' --directory='/var/www' sth But when I check the created file, with stat,...
10
votes
3answers
8k views

Why does Apache send 200 OK while Last-modified matches If-modified-since?

I'm trying to have a basic behavior regarding my caching strategy: files should be cached, and revalidated with server each time. So I would like Apache to send a 304 back. Here is the dialog that ...
-1
votes
2answers
327 views

How to monitor and list modified files server wide for brief periods of time?

I would like to, from time to time, enable server-wide file monitoring that will show me all files being modified, updated and created while I have it running and thus simply spewing forth a list of ...
0
votes
1answer
226 views

ls -l shows constantly updating log files with few minutes old time stamps (modified time)

I gave the command ls -lt to see which log files are constantly being written into, since if they are being written into, the modified time will almost be very close to date command's output. But ...
3
votes
1answer
1k views

batch - File last modification time with seconds

I want to know when a file has been modified for the last time. I can get these infos using the following batch script: FOR %%i IN (myfile) DO SET modif_time=%%~ti The problem is how to get the ...
2
votes
0answers
235 views

How to tell apache to look for last modified date before serving an old modified HTML file?

On certain requests my Django application updates static HTML files. However apache is serving them old copy from its cache... How can I configure Apache to make sure serve latest file changes.. ...
0
votes
1answer
674 views

Tell browsers to cache until last modified date changes? [closed]

My web site consists of static HTML files which are usually republished once per day, and sometimes more. I'm using Apache. In the vhost settings for my site, I'd like to tell browsers to cache HTML ...
1
vote
1answer
80 views

list all files with the same name in order of when they were modified

I have a directory, let's call it htdocs/live/. Many different directories are underneath this directory, each with a file commonFunctions.js living in the js directory. For example, here is the ...
0
votes
1answer
175 views

Copy directories modified by specific users within a certain time frame from an FTP [closed]

I am trying to cleanup a 12TB Windows FTP with several million files. Basically, I want to keep the directories that are still being used by a specific subset of users who had access, and only keep ...
1
vote
2answers
874 views

Apache Caching and Expires configuration

I'm looking for a best possible caching/expires configuration for my specific situation. I realize that some sites have advocated turning etags off: Header unset ETag, FileETag None I know that I ...
8
votes
2answers
14k views

How to setup Apache 2.2.3 to send “last modified” etc

and to tell browser to reload an object (and/or a page... everything on the site) only if is been modified since last visit time??? htaccess, httpd.conf... have you a ready directive right for my case?...
1
vote
2answers
2k views

Why, sometimes the full content is returned unchanged, while If-Modified-Since is set?

my php-generated thumbnail files and combined javascript and css files (all having their expiration dates anc cache=public set etc) return the full content sometimes, other times they load from proxy ...
0
votes
1answer
99 views

Optimizing my site - eTags

ySlow is saying I have 30 misconfigured etages on http://www.diablo-source.com/ and I'm not sure what that means or how to fix it. After a quick Google search it appears to be the same thing as a ...