You are creating a component to render a modified image. What is the proper way to build the URL of the image in order to enable caching of the response?
You want to override an OSGi component configuration in CRX. What happens if you do NOT specify a property in the CRX configuration that is required by the component?
Given the service reference properties set in a servlet:
@Properties({
@Property(name="sling.servlet.resourceType",?
value="myApp/myResource"),
@Property(name="sling.servlet.selectors", value={"img","pdf"}), @Property(name="sling.servlet.paths", ?
value={"/apps/myApp/mypdf","/libs/sling/myimg"})
})
Which properties will the servlet take into consideration when it is being registered?