Plone sends a link to a cached but empty ploneCustom.css

I run three Plone sites on a Plone instance using Plone's shared hosting for Apache without caching. On one of them, I continue to face the css caching problem.

HTML pages come with css link tag

<link rel="stylesheet" type="text/css" media="all" href="http://SITE/portal_css/Sunburst%20Theme/ploneCustom-cachekey5756.css" />

Response to a HEAD request:

$ curl --head 'http://SITE/portal_css/Sunburst%20Theme/ploneCustom-cachekey5756.css'
HTTP/1.1 200 OK
Date: Tue, 14 Jun 2011 06:35:49 GMT
Server: Zope/(2.12.13, python 2.6.5, linux2) ZServer/1.1
Content-Length: 2412
Accept-Ranges: bytes
Expires: Tue, 21 Jun 2011 06:35:49 GMT
Last-Modified: Tue, 14 Jun 2011 06:35:49 GMT
Etag: ts08033349.33
Cache-Control: max-age=604800
Content-Type: text/css;charset=utf-8

However, instead of my complex custom css, this answer contains no data:

$ curl 'http://SITE/portal_css/Sunburst%20Theme/ploneCustom-cachekey5756.css'
$

This means that pages are displayed using the default Plone style, which is annoying for users of my site.

Manually re-preparing css in portal_css -> Savewill again create a link to the valid definition of ploneCustom.css for some time.

This only happens on this site, the other two are in order.

Why is this happening? How can i fix this?

Thanks fbmd

+5

All Articles