2

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..

This changes are not so frequent but as changes are done by portal users we can't predict how frequent and how long it would happen.

If we can configure apache to check the last modified date before serving cached copy may do.

Giacomo1968
  • 3,522
  • 25
  • 38
shahjapan
  • 131
  • 1
  • 13
  • What's your current configuration? Since you tagged this question as such, are you using `mod_cache`? Can you clarify what you need it for? – Shane Madden Nov 25 '13 at 07:05
  • I found a solution for apache configuration to use "FileETag" with MTime option – shahjapan Nov 26 '13 at 06:42
  • 1
    Right, `FileETag INode MTime Size` is the default so that should have been already enabled, but that manipulates the client's browser cache, not any cache on the server side. – Shane Madden Nov 26 '13 at 06:52

0 Answers0