Problems with browser cache / external css
-
Installed the plugin, removed any other caching plugin I had. Enabled virtually everything. Pingdom shows 82 score on test. But, got 2 problems:
F: Leverage browser caching
D: Combine external CSShttps://www.logicweb.com/wp-content/cache/autop ... autoptimize_83b708277cbeaa0bfb743be494987501.css https://www.logicweb.com/wp-content/cache/autop ... autoptimize_a46b2a5c8c3ed4ef613384a677726783.css https://www.logicweb.com/wp-content/plugins/modal-window/public/css/style.css?ver=3.0 https://www.logicweb.com/wp-content/themes/default-child/style.css?ver=4.8.1 https://www.logicweb.com/wp-content/themes/default/style.cssI do not see these options in your plugin. Please explain how to correct this without the need to add other plugins.
htaccess
<IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> ## BEGIN GZIP Compression ## <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-httpd-php AddOutputFilterByType DEFLATE application/x-httpd-fastphp AddOutputFilterByType DEFLATE image/svg+xml SetOutputFilter DEFLATE </IfModule> ## END GZIP Compression ## ## BEGIN Leverage Browser Caching (Expires Caching) ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType image/x-icon "access 1 year" ExpiresByType application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresDefault "access 1 month" </IfModule> ## END Leverage Browser Caching (Expires Caching) ## <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The topic ‘Problems with browser cache / external css’ is closed to new replies.