Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Wrong content type of css files on dispatcher on first request

Avatar

Level 3

When i firstly access to any css file on my dispatcher `Content-Type` of request is `"text/hml"`.

After re access to this file request have correct `Content-Type` `"text/css"`

How to fix this problem, because akamai chashes first request with wrong content type?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

please add the statement

ModMimeUsePathInfo

to your Apache webserver configuration. See [1] for details.

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-install.html#Apache%20Web%20Server%20-%20Configure%20...

View solution in original post

3 Replies

Avatar

Level 3

Seems like dispatcher returns wrong css file, and chaches normal variant. 

Avatar

Correct answer by
Employee Advisor

Hi,

please add the statement

ModMimeUsePathInfo

to your Apache webserver configuration. See [1] for details.

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/dispatcher/disp-install.html#Apache%20Web%20Server%20-%20Configure%20...