Justin Edelson  wrote
> 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.

Actually changes to jsps are detected by observation - there is no
modification check anymore; therefore changes are applied immediately.
I've used webdav as well and have never experienced this with jsps so far.
Esp is a different story.

Carsten
> 
>> 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
> 
> 


-- 
Carsten Ziegeler
[email protected]

Reply via email to