Dispatcher caching | Community
Skip to main content
New Participant
March 6, 2017
Solved

Dispatcher caching

  • March 6, 2017
  • 2 replies
  • 1168 views

Hi all,

We use services request to fetch the JSON data for the html page and the request does not have any extension. All the html pages are cached in the dispatcher. Is there a way to cache the service request so that whenever the user hit the page (whenever service request is used) the request is served from the cache and does not go to publisher.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

the dispatcher caches only files which have an extension; and the extensions which should be considered for caching can be configured in the dispatcher config as part of the caching rules.

So you need to add an extension to your service request (e.g. ".json"), and configure the dispatcher accordingly, then the caching will work.

Cheers,
Jörg

2 replies

joerghoh
joerghohAccepted solution
Employee
March 6, 2017

Hi,

the dispatcher caches only files which have an extension; and the extensions which should be considered for caching can be configured in the dispatcher config as part of the caching rules.

So you need to add an extension to your service request (e.g. ".json"), and configure the dispatcher accordingly, then the caching will work.

Cheers,
Jörg

edubey
New Participant
March 6, 2017

Can you elaborate more on those services and how they are accessed ?