6 Replies Latest reply on Jan 18, 2013 1:33 AM by lancedolan

    How to cache json files with dispatcher?

    lancedolan

      Our project is unique in that we want to cache particular json files. Our performance will rely on it. However it seems dispatcher is only capable of caching HTML. This will be real bad news for us if it's impossible.

       

      In our /cache configuration, we'd like to do:

       

      /rules

      {

        /0000

          {

          /glob "*.html"

          /type "allow"

          }

        /0001

          {

          /glob "*.docache.json"

          /type "allow"

          }

       

      }

       

      Unfortunately, after requesting the json file through the dispatcher, the file is not cached at all, even if doing /glob "*" /type "allow"