Expand my Community achievements bar.

SOLVED

Dispachter not caching *.svg files under /etc/designs/default

Avatar

Level 3

I have added the below in dispacther.any 

/0112 { /type "allow" /glob "* /etc/designs/default/img/*" } # mapping for images 

/0044 { /type "allow" /glob "* *.svg *"    }  # svg image


problem:-
 but don't see the dispatcher cache  the below images 

/etc/designs/default/img/logo-app-mobile.svg
/etc/designs/default/img/logo-app.svg

I see chacing  happening only for the image
/etc/designs/default/img/logo.png


could some one help me as how i could resolve this

1 Accepted Solution

Avatar

Correct answer by
Level 3

I would try to set the log level of dispatcher.log to debug and then you should see in dispatcher.log why .../etc/designs/default/img/logo-app.svg will not be cached.

If you can't find the problem anyway you can add the log entries to your post.

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi,

in which section do you have your /allow rules? As these names can appear both in the /filter and the /cache section, it's not really clear. Can you post your complete dispatcher.any file?

Jörg

Avatar

Level 3

Thanks  for your suggestions.  I  found that on giving space between /0044  and { /type "allow" /glob "* *.svg *"    } the problem got solved.

Avatar

Correct answer by
Level 3

I would try to set the log level of dispatcher.log to debug and then you should see in dispatcher.log why .../etc/designs/default/img/logo-app.svg will not be cached.

If you can't find the problem anyway you can add the log entries to your post.