kris1478
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] AO static Brotli compressionThanks,
I have checked the website, indeed I can download .js.br files (it means they exists), but header in dev tools also states path with .js only.
I will replace style in one of my .css.br files to check if it is served or not. (seems that this is the only way to check).Forum: Plugins
In reply to: [Autoptimize] AO static Brotli compressionIn my case networks tab shows .css files
Headers says content-encoding: brCould you give me an address of some website where AO provides .br via php-ext-brotli to see what it looks like in dev tools?
Thanks
KrisForum: Plugins
In reply to: [Autoptimize] AO static Brotli compressionI just uploaded .br files compressed manually(PeaZip provides nice brotli.exe tool for win) I have just uploaded css.br and js.br files to the cache folder, I have added .htacess rewriting rules as per below
</IfModule>#serve brotli static
<IfModule mod_headers.c>
# Serve brotli compressed CSS and JS files if they exist
# and the client accepts brotli.
RewriteCond “%{HTTP:Accept-encoding}” “br”
RewriteCond “%{REQUEST_FILENAME}\.br” “-s”
RewriteRule “^(.*)\.(js|css)” “$1\.$2\.br” [QSA]# Serve correct content types, and prevent double compression.
RewriteRule “\.css\.br$” “-” [T=text/css,E=no-brotli:1]
RewriteRule “\.js\.br$” “-” [T=text/javascript,E=no-brotli:1]<FilesMatch “(\.js\.br|\.css\.br)$”>
# Serve correct encoding type.
Header append Content-Encoding br# Force proxies to cache brotli &
# non-brotli css/js files separately.
Header append Vary Accept-Encoding
</FilesMatch>
</IfModule>I did not notice any performance gain. What you think is it working? When AO makse .br files is it directly relates to .br files or it relies on the apache rewrite rules only?
Forum: Plugins
In reply to: [Autoptimize] Aggregation of the css stopedIn fact I updated recently, Avada to the newest version 7.2.1
Thanks for help, If you have any idea to mitigate the problem I will appreciate it.