Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I make RabbIT only cache images/html-pages/mp3s?

cache html-pages images mp3 rabbit
0
Posted

How do I make RabbIT only cache images/html-pages/mp3s?

0

You enable the rabbit.filter.DontCacheFilter and configure it to your needs To enable the rabbit.filter.DontCacheFilter append it to either httpinfilters or httpoutfilters depending upon which mode you will be using. You can filter on the URL of the request (httpinfilters) or on the mime type found in the http response (httpoutfilters) or using both modes. In the “[rabbit.filter.DontCacheFilter]” section you specify how the filter will work. some examples are: “dontCacheURLmatching=(\.html|\.asp)” and “onlyCacheMimematching=text/html”. More examples are found in the rabbit.conf file supplied with RabbIT.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123