Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created one custom module for rest server, i created own resources and i want to be able to cache index request, for return a 304 with using http request if - headers.

I cannot find information on how to do it.

share|improve this question

I did it setting my own headers (cache-control, last-modified, etag, expires), and setting rules for delete cache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.