skip to Main Content

I have a problem with my style.css file.
after i published it on plesk server, it worked fine. but some times, (such as when press Ctrl+F5 ) or simple refresh, it’s content is unreadable.
I attach an screenshot .
how to fix it?
enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I found the problem. it's about gzip function that not worked fine.


  2. It could be a encoding mismatch. Make sure that the client and server are using UTF-8 to encode the file. If that does not work it might be a error while sending/receiving the file. If you are on Chrome, use the network tab in the Chrome dev tools to check that out.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search