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




apache2 --version shows error, -v does not

Updated March 14, 2019 20:02 PM

apache2 change root directory

Updated November 02, 2015 11:01 AM

phpmyadmin is showing demo page in lubuntu

Updated June 24, 2017 16:02 PM