Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8516421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:25:23+00:00 2026-06-11T05:25:23+00:00

I have a specific Adobe CQ5 (5.5) content template that authors will use to

  • 0

I have a specific Adobe CQ5 (5.5) content template that authors will use to create pages. I want to exclude any page that is created from this template from the dispatcher cache. As I understand it currently, the only way I know to prevent caching is to configure dispatcher.any to not cache a particular URL. But in this case, the URL isn’t known until a web author uses the template to create a page. I don’t want to have to go back and modify dispatcher.any every time a page is created–or at least I want to automate this if there is no other way. I am using IIS for the dispatcher. The reason I don’t want to cache the pages is because the underlying JSPs that render the content for these pages produce dynamic content, and the pages don’t use querystrings and won’t carry authentication headers. The pages will be created in unpredictable directories, so I don’t know the URL pattern ahead of time.

How can I configure things so that any page that is created from a certain template will be automatically excluded from the dispatcher cache?

It seems like CQ ought to have some mechanism to respect HTTP response/caching headers. If the HTTP response headers specify that the response shouldn’t be cached, it seems like the dispatcher shouldn’t cache it–regardless of what dispatcher.any says. This is the CQ5 documentation I have been referencing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:25:25+00:00Added an answer on June 11, 2026 at 5:25 am

    I don’t know about the IIS verson of the Dispatcher, but certainly with the Apache module if you add a custom HTTP header “dispatcher: nocache” it will not cache the page in the Dispatcher. You would need to change the code to add this, which would be something like:

        request.setHeader("Dispatcher", "nocache");
    

    It might also work as meta tags in the html, but I’ve not tried this.

    This is documented here: http://dev.day.com/content/kb/home/Dispatcher/faq-s/DispatcherNoCache.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a specific question, that could use a general answer... When building Multi-Tier
I want to create a tree that it's child nodes contain specific flex components
I'm building an web application that I want users to have specific permissions to
In my rails 3.1 app, I have specific files that are to be loaded
I have a specific requirement that all children of a particular JComponent have double
This question is specific to Adobe CQ5, so ExtJS answers by themselves won't be
We have specific XML that has specific structure: <root> <element type=a> <value>someValueA</value> </element> <element
I'm writing a small API to deal with objects that have specific 'traits' In
Memory usage is quite critical in my application. Therefore I have specific asserts that
I have a specific requirement to read a resource from jar file and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.