Hi list,

I have added a caching policy manager to cpsinstall by default (in trunk). It comes with a default policy to cache images in skins directory with the following predicate:

python:getattr(object, 'meta_type', '') in ('Filesystem Image',)

->  Max age (secs): 3600

http://svn.nuxeo.org/trac/pub/changeset/29643

This means you no longuer need add .metadata files along your image files in the skins folders so as to associate them with an Accelerated HTTP Cache Manager.

Please test and report any problem or suggestions for the predicate of the default policy.

Question to Ben: does funkload read http headers to decide whether or not to download image files?

NB: http://livehttpheaders.mozdev.org/ is great to debug cache related problem.

--
Olivier

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to