Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

Different Cache for Different URI

Post new topic   Reply to topic    Apache Forum Index -> Apache

View previous topic :: View next topic  
Author Message

Joined: 12 Jan 2018
Posts: 1
Location: Canada, Toronto

PostPosted: Fri 12 Jan '18 15:58    Post subject: Different Cache for Different URI Reply with quote

Hello All,

I'm using Apache2.2 and need help on the below :

Just wondering is it possible to have different CacheDefaultExpire for different URI. For Example :

CacheEnable Disk /dashboard/app1
CacheDefaultExpire 3600

CacheEnable Disk /dashboard/app2
CacheDefaultExpire 7200

Also how do I check the CacheDefaultExpire from the client browser.

Thanks in advance.
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6621
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Oct '18 10:51    Post subject: Reply with quote

You can use Location or LocationMatch

see https://httpd.apache.org/docs/2.4/mod/mod_cache.html#cacheenable
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1