Answer the question
In order to leave comments, you need to log in
How to make Etag and Gzip friends?
Hello.
Apparently, an ancient problem, but I never found a normal solution.
In .htaccess I have the following lines:
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE application/xml
</IfModule>
FileETag MTime
HTTP/1.1 200 OK
Date: Fri, 13 Feb 2015 07:29:38 GMT
Server: Apache
Last-Modified: Thu, 12 Feb 2015 12:40:17 GMT
ETag: "50ee36c1a3bce -gzip "
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: no-cache
Content-Length: 2724
Keep-Alive: timeout=2, max=99
Connection: Keep-Alive
Content-Type: text/css
Answer the question
In order to leave comments, you need to log in
Import the variable file into each file where they are needed.
Now, most likely, the trouble is due to the fact that the styles are collected according to the mask app/sass/**/*
, because of this, the files are taken in the order in which the gallp wants, so it can compile any file before it finds the file with variables
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question