Marshall Shi created SHINDIG-1888:
-------------------------------------

             Summary: gadget ifr servlet not able to refresh gadget xml as 
desired
                 Key: SHINDIG-1888
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1888
             Project: Shindig
          Issue Type: Bug
          Components: Java, Javascript 
    Affects Versions: 2.5.0-beta5
            Reporter: Marshall Shi


Shindig ifr servlet entry will send the default cache control of gadget xml to 
the browser as a year by default. This is not reasonable especially when gadget 
xml resource server specified the cache control in its response to Shindig 
server, and consumer need to dynamically create the gadget xml content.

In the HttpCache of Shindig server, the gadget xml and its response are stored. 
The desired behavior would be to let the ifr servlet being able to refresh 
itself so the data in HttpCache can be validated, so a refetching of gadget xml 
can happen.

Proposed solution is to add a REFRESH parameter in common container 
navigateGadget() API, so in case the NO_CACHE is false, this parameter can be 
considered as the cache control of ifr servlet response.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to