On Aug 28, 2012, at 1:11 PM, Edgar Vonk (via Magnolia Forums) wrote:

> Thanks guys. Another thing: in our logs we see the see the same message quite 
> often for ordinary PDFs too:
> 
> [code]WARN   info.magnolia.module.cache.filter.CacheFilter 28.08.2012 
> 13:04:18 -- The following URL took longer than 4 seconds (5146 ms) to render. 
> This might cause timeout exceptions on other requests to the same URI. 
> [url=http://www.xxx.com/dms/test.pdf], 
> [key=DefaultCacheKey{uri='/dms/test.pdf', serverName='www.xxx.com', 
> locale='en', channel='desktop', params={}', secure='false'}]
> [/code]

So tripple x dot com is still not running on Magnolia? How disappointing :)

> (PS: I changed the serverName and URL)
> 
> These PDFs are only like 1MB in size. It seems however that the cache has 
> problems with these too?

If 1MB file takes 5 seconds to serve you still serve document at 1.5 Mbs ... 
that seems ok as the speed goes.
Same as before  - if someone requests that document while it is being served to 
the very first user, they would have to wait those 5 seconds, then get it from 
the cache. Afterwards they would always get it from the cache, so in this case 
I think the warning could be safely ignored.

> Is you advice to exclude _all_ binaries (including .pdf files) from the cache?

I wouldn't, but if you have FS based data store there's not much performance 
difference between serving even small binaries from FS based cache or from FS 
based data store.

HTH,
Jan

----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to