On 1/6/11 4:12 PM, Markus Joschko wrote:
> Hi,
> I decided to build a prototype using sling.
> Currently I wonder about the best practice to edit the esp/jsp files.
> 
> As I don't want to create a bundle and upload it everytime I make a
> small change in the scripts,
> I have mapped the repository via webdav and modify the scripts directly.
> 
> But I  notice a delay of 10 seconds before the change gets picked up.
> Can this be configured? Or is this a limitation of the webdav driver?
Are you sure this happens for both ESP and JSPs? Both have a
configurable check interval, but IIRC the ESP modification checking
defaults to every access. JSP modification checking is every few
seconds. To configure these, use /system/console/configMgr.

> How do you edit your scripts?
> 
> BTW, I noticed that there are no caching headers used when requesting
> a resource. Is this configurable?
> Or does sling not utilize caching headers?
Sling doesn't set Cache-Control or Expires OOTB. You could, of
course,add these via a Filter. A contribution of these could would be
appreciated. I think there's some discussion on the list archives for
the times when caching has been discussed in the past.

Justin

> 
> Thanks,
>  Markus

Reply via email to