How to configure apache cache expire setting for browser using ubuntu 16.04

by Aftab Ali   Last Updated January 11, 2019 12:02 PM

I am unable to configure apache mod_cache to expire 1 day time downloaded content from the browser, Please suggest me how to do that.

Tags : lubuntu apache2

Answers 1

The CacheDefaultExpire directive specifies a default time, in seconds, to cache a document if neither an expiry date nor last-modified date are provided with the document. The value specified with the CacheMaxExpire directive does not override this setting.

CacheDefaultExpire 86400 (seconds)

Mirosław Mówiński
Mirosław Mówiński
January 12, 2019 09:47 AM

Related Questions

Updated October 04, 2018 12:02 PM

Updated January 30, 2019 23:02 PM

Updated March 14, 2019 20:02 PM

Updated November 02, 2015 11:01 AM

Updated June 24, 2017 16:02 PM