logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

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

or

Bitcoin

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

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Different Cache for Different URI
Author
agrovers



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
Moderator


Joined: 19 Jan 2006
Posts: 7371
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


Reply to topic   Topic: Different Cache for Different URI View previous topic :: View next topic
Post new topic   Forum Index -> Apache