On Jun 3, 2009, at 3:16 PM, Michael Baierl wrote:

> Roland Liebl wrote:
>> Why not doing something like ...
>>
>> <link rel="stylesheet" type="text/css" href="/common.css? 
>> v=<roundcube:var
>> name="config:version" />" />
>>
>> ... in the template files?
>
> This will prevent caching completely.

Why does that prevent caching completely? Im  already doing this with  
my own
plugins, and it seems to be caching just fine. This will create HTML  
like:


<script type="text/javascript" src="program/js/common.js?v=0.2.2"></ 
script>
<script type="text/javascript" src="program/js/app.js?v=0.2.2"></script>
<script type="text/javascript" src="program/js/list.js?v=0.2.2"></ 
script>

And as long as you dont change the config:version, things remain  
cached right?

Cor

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to