Minify not working anymore
-
Since yesterday whenever I test my website with pingdom or gtmetrix all css and js files do not result combined and minified. It seems it is not minifying anything anymore.
Tried to change form manual minify to automatic and back…nothing changed
Feel free to visit-
-
Please, share your w3tc settings, your server confing (php version, web server) and your wp/w3tc version.
I also have a problem with minify.I have turned minify off for now, because it stops the homepage from loading images and does not allow usage of the dropdown menu. Turning the option off has really slowed down the site though.
W3 version: 0.9.5.2
PhP version: 7.0
Site: https://www.bespokebyyou.nlNot sure what you mean by w3tc settings. If you could tell me which settings you need, I will provide them.
Dear W3 Support, Since the update I have had to turn off minify in my website and two blogs. Although I have Divi Theme in all three sites, the update broke one of them that I had to re-upload. Major issues with CDN (MaxCDN). Prior to the update, everything was working great and still have not changed anything. I’ve also been in contact with others who are reporting similar problems
Forgive me, but I’m a tech. idiot forensic psychologist. Having zero tech. skills, I’ve resigned myself to keeping W3 deactivated until a new update is offered. Is there any chance of an update happening within the next 30-60 days so I don’t have to search for a new cache plugin? I love W3 and would hate giving it up so as long as a fix is forthcoming. Respectfully, Dr. Nuccitelli Site: https://www.ipredator.co/
@bespokebyyou you can export the w3tc settings at bottom of “General settings” page of W3TC, see https://s30.postimg.org/a50y8rm3l/Immagine4.jpg
@ipredator for the issue with the cdn, you could check if the issue is same described here https://github.com/szepeviktor/w3-total-cache-fixed/pull/316?
Forgive me, but I’m a tech. idiot forensic psychologist. Having zero tech.
w3tc is a complex caching solution… maybe, it’s not the best option for a “zero tech” man.
- This reply was modified 7 years, 10 months ago by nigro.simone.
Ok, done. Can I send it to you or should I copy it here? Sorry for these questions, this is my first time ever asking for support
@bespokebyyou just copy it
{
“version”: “0.9.5.2”,
“cluster.messagebus.debug”: false,
“cluster.messagebus.enabled”: false,
“cluster.messagebus.sns.region”: “”,
“cluster.messagebus.sns.api_key”: “”,
“cluster.messagebus.sns.api_secret”: “”,
“cluster.messagebus.sns.topic_arn”: “”,
“dbcache.configuration_overloaded”: false,
“dbcache.debug”: “1”,
“dbcache.enabled”: “1”,
“dbcache.engine”: “file”,
“dbcache.file.gc”: “3600”,
“dbcache.file.locking”: false,
“dbcache.lifetime”: “180”,
“dbcache.memcached.persistent”: true,
“dbcache.memcached.aws_autodiscovery”: false,
“dbcache.memcached.servers”: [
“127.0.0.1:11211”
],
“dbcache.memcached.username”: “”,
“dbcache.memcached.password”: “”,
“dbcache.redis.persistent”: true,
“dbcache.redis.servers”: [
“127.0.0.1:6379”
],
“dbcache.redis.password”: “”,
“dbcache.redis.dbid”: 0,
“dbcache.reject.constants”: [
“APP_REQUEST”,
“DOING_CRON”,
“DONOTCACHEDB”,
“SHORTINIT”,
“XMLRPC_REQUEST”
],
“dbcache.reject.cookie”: [],
“dbcache.reject.logged”: “1”,
“dbcache.reject.sql”: [
“gdsr_”,
“wp_rg_”,
“_wc_session_”
],
“dbcache.reject.uri”: [
“”
],
“dbcache.reject.words”: [
“^\\s*insert\\b”,
“^\\s*delete\\b”,
“^\\s*update\\b”,
“^\\s*replace\\b”,
“^\\s*create\\b”,
“^\\s*alter\\b”,
“^\\s*show\\b”,
“^\\s*set\\b”,
“\\bautoload\\s+=\\s+’yes'”,
“\\bsql_calc_found_rows\\b”,
“\\bfound_rows\\(\\)”
],
“objectcache.configuration_overloaded”: false,
“objectcache.enabled”: “1”,
“objectcache.debug”: “1”,
“objectcache.enabled_for_wp_admin”: true,
“objectcache.fallback_transients”: true,
“objectcache.engine”: “file”,
“objectcache.file.gc”: 3600,
“objectcache.file.locking”: false,
“objectcache.memcached.servers”: [
“127.0.0.1:11211”
],
“objectcache.memcached.persistent”: true,
“objectcache.memcached.aws_autodiscovery”: false,
“objectcache.memcached.username”: “”,
“objectcache.memcached.password”: “”,
“objectcache.redis.persistent”: true,
“objectcache.redis.servers”: [
“127.0.0.1:6379”
],
“objectcache.redis.password”: “”,
“objectcache.redis.dbid”: 0,
“objectcache.groups.global”: [
“users”,
“userlogins”,
“usermeta”,
“user_meta”,
“site-transient”,
“site-options”,
“site-lookup”,
“blog-lookup”,
“blog-details”,
“rss”,
“global-posts”
],
“objectcache.groups.nonpersistent”: [
“comment”,
“counts”,
“plugins”
],
“objectcache.lifetime”: 180,
“objectcache.purge.all”: false,
“pgcache.configuration_overloaded”: false,
“pgcache.enabled”: “1”,
“pgcache.comment_cookie_ttl”: “1800”,
“pgcache.debug”: “1”,
“pgcache.engine”: “file_generic”,
“pgcache.file.gc”: “3600”,
“pgcache.file.nfs”: false,
“pgcache.file.locking”: false,
“pgcache.lifetime”: 3600,
“pgcache.memcached.servers”: [
“127.0.0.1:11211”
],
“pgcache.memcached.persistent”: true,
“pgcache.memcached.aws_autodiscovery”: false,
“pgcache.memcached.username”: “”,
“pgcache.memcached.password”: “”,
“pgcache.redis.persistent”: true,
“pgcache.redis.servers”: [
“127.0.0.1:6379”
],
“pgcache.redis.password”: “”,
“pgcache.redis.dbid”: 0,
“pgcache.cache.query”: true,
“pgcache.cache.home”: “1”,
“pgcache.cache.feed”: “0”,
“pgcache.cache.nginx_handle_xml”: false,
“pgcache.cache.ssl”: “0”,
“pgcache.cache.404”: “0”,
“pgcache.cache.headers”: [
“Last-Modified”,
“Content-Type”,
“X-Pingback”,
“P3P”
],
“pgcache.compatibility”: “0”,
“pgcache.remove_charset”: “0”,
“pgcache.accept.uri”: [
“sitemap(_index)?\\.xml(\\.gz)?”,
“([a-z0-9_\\-]+)?sitemap\\.xsl”,
“[a-z0-9_\\-]+-sitemap([0-9]+)?\\.xml(\\.gz)?”
],
“pgcache.accept.files”: [
“wp-comments-popup.php”,
“wp-links-opml.php”,
“wp-locations.php”
],
“pgcache.accept.qs”: [
“”
],
“pgcache.late_init”: “0”,
“pgcache.late_caching”: “0”,
“pgcache.mirrors.enabled”: “0”,
“pgcache.mirrors.home_urls”: [
“”
],
“pgcache.reject.front_page”: “0”,
“pgcache.reject.logged”: “1”,
“pgcache.reject.logged_roles”: “1”,
“pgcache.reject.roles”: [
“administrator”
],
“pgcache.reject.uri”: [
“wp-.*\\.php”,
“index\\.php”
],
“pgcache.reject.ua”: [
“”
],
“pgcache.reject.cookie”: [
“wptouch_switch_toggle”
],
“pgcache.reject.request_head”: false,
“pgcache.purge.front_page”: “0”,
“pgcache.purge.home”: “1”,
“pgcache.purge.post”: “1”,
“pgcache.purge.comments”: “0”,
“pgcache.purge.author”: “0”,
“pgcache.purge.terms”: “0”,
“pgcache.purge.archive.daily”: “0”,
“pgcache.purge.archive.monthly”: “0”,
“pgcache.purge.archive.yearly”: “0”,
“pgcache.purge.feed.blog”: “1”,
“pgcache.purge.feed.comments”: “0”,
“pgcache.purge.feed.author”: “0”,
“pgcache.purge.feed.terms”: “0”,
“pgcache.purge.feed.types”: [
“rss2”
],
“pgcache.purge.postpages_limit”: “10”,
“pgcache.purge.pages”: [
“”
],
“pgcache.purge.sitemap_regex”: “([a-z0-9_\\-]*?)sitemap([a-z0-9_\\-]*)?\\.xml”,
“pgcache.prime.enabled”: “0”,
“pgcache.prime.interval”: “900”,
“pgcache.prime.limit”: “10”,
“pgcache.prime.sitemap”: “”,
“pgcache.prime.post.enabled”: “0”,
“stats.enabled”: “0”,
“minify.configuration_overloaded”: false,
“minify.enabled”: “0”,
“minify.auto”: “1”,
“minify.debug”: “1”,
“minify.engine”: “file”,
“minify.error.notification”: “”,
“minify.file.gc”: “86400”,
“minify.file.nfs”: false,
“minify.file.locking”: false,
“minify.memcached.servers”: [
“127.0.0.1:11211”
],
“minify.memcached.persistent”: true,
“minify.memcached.aws_autodiscovery”: false,
“minify.memcached.username”: “”,
“minify.memcached.password”: “”,
“minify.redis.persistent”: true,
“minify.redis.servers”: [
“127.0.0.1:6379”
],
“minify.redis.password”: “”,
“minify.redis.dbid”: 0,
“minify.rewrite”: “1”,
“minify.options”: [],
“minify.symlinks”: [],
“minify.lifetime”: “86400”,
“minify.upload”: true,
“minify.html.enable”: “0”,
“minify.html.engine”: “html”,
“minify.html.reject.feed”: “0”,
“minify.html.inline.css”: “0”,
“minify.html.inline.js”: “0”,
“minify.html.strip.crlf”: “0”,
“minify.html.comments.ignore”: [
“google_ad_”,
“RSPEAK_”
],
“minify.css.combine”: “0”,
“minify.css.enable”: “1”,
“minify.css.engine”: “css”,
“minify.css.http2push”: false,
“minify.css.strip.comments”: “0”,
“minify.css.strip.crlf”: “0”,
“minify.css.embed”: false,
“minify.css.imports”: “”,
“minify.css.groups”: [],
“minify.js.http2push”: false,
“minify.js.enable”: “1”,
“minify.js.engine”: “js”,
“minify.js.combine.header”: “0”,
“minify.js.header.embed_type”: “blocking”,
“minify.js.combine.body”: false,
“minify.js.body.embed_type”: “blocking”,
“minify.js.combine.footer”: false,
“minify.js.footer.embed_type”: “blocking”,
“minify.js.strip.comments”: “0”,
“minify.js.strip.crlf”: “0”,
“minify.js.groups”: [],
“minify.yuijs.path.java”: “java”,
“minify.yuijs.path.jar”: “yuicompressor.jar”,
“minify.yuijs.options.line-break”: 5000,
“minify.yuijs.options.nomunge”: false,
“minify.yuijs.options.preserve-semi”: false,
“minify.yuijs.options.disable-optimizations”: false,
“minify.yuicss.path.java”: “java”,
“minify.yuicss.path.jar”: “yuicompressor.jar”,
“minify.yuicss.options.line-break”: 5000,
“minify.ccjs.path.java”: “java”,
“minify.ccjs.path.jar”: “compiler.jar”,
“minify.ccjs.options.compilation_level”: “SIMPLE_OPTIMIZATIONS”,
“minify.ccjs.options.formatting”: “”,
“minify.csstidy.options.remove_bslash”: true,
“minify.csstidy.options.compress_colors”: true,
“minify.csstidy.options.compress_font-weight”: true,
“minify.csstidy.options.lowercase_s”: false,
“minify.csstidy.options.optimise_shorthands”: 1,
“minify.csstidy.options.remove_last_;”: false,
“minify.csstidy.options.case_properties”: 1,
“minify.csstidy.options.sort_properties”: false,
“minify.csstidy.options.sort_selectors”: false,
“minify.csstidy.options.merge_selectors”: 2,
“minify.csstidy.options.discard_invalid_properties”: false,
“minify.csstidy.options.css_level”: “CSS2.1”,
“minify.csstidy.options.preserve_css”: false,
“minify.csstidy.options.timestamp”: false,
“minify.csstidy.options.template”: “default”,
“minify.htmltidy.options.clean”: false,
“minify.htmltidy.options.hide-comments”: true,
“minify.htmltidy.options.wrap”: 0,
“minify.reject.logged”: “0”,
“minify.reject.ua”: [
“”
],
“minify.reject.uri”: [
“”
],
“minify.reject.files.js”: [
“”
],
“minify.reject.files.css”: [
“”
],
“minify.cache.files”: [
“”
],
“minify.cache.files_regexp”: false,
“cdn.configuration_overloaded”: false,
“cdn.enabled”: “0”,
“cdn.debug”: “1”,
“cdn.engine”: “maxcdn”,
“cdn.uploads.enable”: true,
“cdn.includes.enable”: true,
“cdn.includes.files”: “*.css;*.js;*.gif;*.png;*.jpg;*.xml”,
“cdn.theme.enable”: true,
“cdn.theme.files”: “*.css;*.js;*.gif;*.png;*.jpg;*.ico;*.ttf;*.otf,*.woff,*.less”,
“cdn.minify.enable”: true,
“cdn.custom.enable”: true,
“cdn.custom.files”: [
“favicon.ico”,
“{wp_content_dir}\/gallery\/*”,
“{wp_content_dir}\/uploads\/avatars\/*”,
“{plugins_dir}\/wordpress-seo\/css\/xml-sitemap.xsl”,
“{plugins_dir}\/wp-minify\/min*”,
“{plugins_dir}\/*.js”,
“{plugins_dir}\/*.css”,
“{plugins_dir}\/*.gif”,
“{plugins_dir}\/*.jpg”,
“{plugins_dir}\/*.png”
],
“cdn.import.files”: false,
“cdn.queue.interval”: 900,
“cdn.queue.limit”: 25,
“cdn.force.rewrite”: false,
“cdn.autoupload.enabled”: false,
“cdn.autoupload.interval”: 3600,
“cdn.canonical_header”: false,
“cdn.ftp.host”: “”,
“cdn.ftp.type”: “”,
“cdn.ftp.user”: “”,
“cdn.ftp.pass”: “”,
“cdn.ftp.path”: “”,
“cdn.ftp.pasv”: false,
“cdn.ftp.domain”: [],
“cdn.ftp.ssl”: “auto”,
“cdn.google_drive.client_id”: “”,
“cdn.google_drive.refresh_token”: “”,
“cdn.google_drive.folder.id”: “”,
“cdn.google_drive.folder.title”: “”,
“cdn.google_drive.folder.url”: “”,
“cdn.highwinds.account_hash”: “”,
“cdn.highwinds.api_token”: “”,
“cdn.highwinds.host.hash_code”: “”,
“cdn.highwinds.host.domains”: [],
“cdn.highwinds.ssl”: “auto”,
“cdn.s3.key”: “”,
“cdn.s3.secret”: “”,
“cdn.s3.bucket”: “”,
“cdn.s3.cname”: [],
“cdn.s3.ssl”: “auto”,
“cdn.s3_compatible.api_host”: “auto”,
“cdn.cf.key”: “”,
“cdn.cf.secret”: “”,
“cdn.cf.bucket”: “”,
“cdn.cf.id”: “”,
“cdn.cf.cname”: [],
“cdn.cf.ssl”: “auto”,
“cdn.cf2.key”: “”,
“cdn.cf2.secret”: “”,
“cdn.cf2.id”: “”,
“cdn.cf2.cname”: [],
“cdn.cf2.ssl”: “”,
“cdn.rscf.user”: “”,
“cdn.rscf.key”: “”,
“cdn.rscf.location”: “us”,
“cdn.rscf.container”: “”,
“cdn.rscf.cname”: [],
“cdn.rscf.ssl”: “auto”,
“cdn.rackspace_cdn.user_name”: “”,
“cdn.rackspace_cdn.api_key”: “”,
“cdn.rackspace_cdn.region”: “”,
“cdn.rackspace_cdn.service.access_url”: “”,
“cdn.rackspace_cdn.service.id”: “”,
“cdn.rackspace_cdn.service.name”: “”,
“cdn.rackspace_cdn.service.protocol”: “http”,
“cdn.rackspace_cdn.domains”: [],
“cdn.azure.user”: “”,
“cdn.azure.key”: “”,
“cdn.azure.container”: “”,
“cdn.azure.cname”: [],
“cdn.azure.ssl”: “auto”,
“cdn.mirror.domain”: [],
“cdn.mirror.ssl”: “auto”,
“cdn.netdna.alias”: “”,
“cdn.netdna.consumerkey”: “”,
“cdn.netdna.consumersecret”: “”,
“cdn.netdna.authorization_key”: “”,
“cdn.netdna.domain”: [],
“cdn.netdna.ssl”: “auto”,
“cdn.netdna.zone_id”: 0,
“cdn.maxcdn.authorization_key”: “”,
“cdn.maxcdn.domain”: [],
“cdn.maxcdn.ssl”: “auto”,
“cdn.maxcdn.zone_id”: 0,
“cdn.cotendo.username”: “”,
“cdn.cotendo.password”: “”,
“cdn.cotendo.zones”: [],
“cdn.cotendo.domain”: [],
“cdn.cotendo.ssl”: “auto”,
“cdn.akamai.username”: “”,
“cdn.akamai.password”: “”,
“cdn.akamai.email_notification”: [],
“cdn.akamai.action”: “invalidate”,
“cdn.akamai.zone”: “production”,
“cdn.akamai.domain”: [],
“cdn.akamai.ssl”: “auto”,
“cdn.edgecast.account”: “”,
“cdn.edgecast.token”: “”,
“cdn.edgecast.domain”: [],
“cdn.edgecast.ssl”: “auto”,
“cdn.att.account”: “”,
“cdn.att.token”: “”,
“cdn.att.domain”: [],
“cdn.att.ssl”: “auto”,
“cdn.reject.admins”: false,
“cdn.reject.logged_roles”: false,
“cdn.reject.roles”: [],
“cdn.reject.ua”: [],
“cdn.reject.uri”: [],
“cdn.reject.files”: [
“{uploads_dir}\/wpcf7_captcha\/*”,
“{uploads_dir}\/imagerotator.swf”,
“{plugins_dir}\/wp-fb-autoconnect\/facebook-platform\/channel.html”
],
“cdn.reject.ssl”: false,
“varnish.configuration_overloaded”: false,
“varnish.enabled”: “1”,
“varnish.debug”: “1”,
“varnish.servers”: [
“”
],
“browsercache.configuration_overloaded”: false,
“browsercache.enabled”: “1”,
“browsercache.rewrite”: “0”,
“browsercache.hsts”: “0”,
“browsercache.no404wp”: “0”,
“browsercache.no404wp.exceptions”: [
“robots\\.txt”,
“[a-z0-9_\\-]*sitemap[a-z0-9_\\-]*\\.(xml|xsl|html)(\\.gz)?”
],
“browsercache.cssjs.last_modified”: “1”,
“browsercache.cssjs.compression”: “1”,
“browsercache.cssjs.expires”: “1”,
“browsercache.cssjs.lifetime”: “31536000”,
“browsercache.cssjs.nocookies”: “1”,
“browsercache.cssjs.cache.control”: “1”,
“browsercache.cssjs.cache.policy”: “cache_public_maxage”,
“browsercache.cssjs.etag”: “1”,
“browsercache.cssjs.w3tc”: “0”,
“browsercache.cssjs.replace”: “1”,
“browsercache.html.compression”: “1”,
“browsercache.html.last_modified”: “1”,
“browsercache.html.expires”: “1”,
“browsercache.html.lifetime”: “3600”,
“browsercache.html.cache.control”: “1”,
“browsercache.html.cache.policy”: “cache_public_maxage”,
“browsercache.html.etag”: “1”,
“browsercache.html.w3tc”: “0”,
“browsercache.html.replace”: false,
“browsercache.other.last_modified”: “1”,
“browsercache.other.compression”: “1”,
“browsercache.other.expires”: “1”,
“browsercache.other.lifetime”: “31536000”,
“browsercache.other.nocookies”: “1”,
“browsercache.other.cache.control”: “1”,
“browsercache.other.cache.policy”: “cache_public_maxage”,
“browsercache.other.etag”: “1”,
“browsercache.other.w3tc”: “0”,
“browsercache.other.replace”: “1”,
“browsercache.replace.exceptions”: [
“”
],
“mobile.configuration_overloaded”: false,
“mobile.enabled”: false,
“mobile.rgroups”: {
“high”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“agents”: [
“android”,
“mobi”,
“bada”,
“incognito”,
“kindle”,
“maemo”,
“opera\\ mini”,
“s8000”,
“series60”,
“ucbrowser”,
“ucweb”,
“webmate”,
“webos”
]
},
“low”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“agents”: [
“2\\.0\\ mmp”,
“240×320”,
“alcatel”,
“amoi”,
“asus”,
“au\\-mic”,
“audiovox”,
“avantgo”,
“benq”,
“bird”,
“blackberry”,
“blazer”,
“cdm”,
“cellphone”,
“danger”,
“ddipocket”,
“docomo”,
“dopod”,
“elaine\/3\\.0”,
“ericsson”,
“eudoraweb”,
“fly”,
“haier”,
“hiptop”,
“hp\\.ipaq”,
“htc”,
“huawei”,
“i\\-mobile”,
“iemobile”,
“iemobile\/7”,
“iemobile\/9”,
“j\\-phone”,
“kddi”,
“konka”,
“kwc”,
“kyocera\/wx310k”,
“lenovo”,
“lg”,
“lg\/u990”,
“lge\\ vx”,
“midp”,
“midp\\-2\\.0”,
“mmef20”,
“mmp”,
“mobilephone”,
“mot\\-v”,
“motorola”,
“msie\\ 10\\.0”,
“netfront”,
“newgen”,
“newt”,
“nintendo\\ ds”,
“nintendo\\ wii”,
“nitro”,
“nokia”,
“novarra”,
“o2”,
“openweb”,
“opera\\ mobi”,
“opera\\.mobi”,
“p160u”,
“palm”,
“panasonic”,
“pantech”,
“pdxgw”,
“pg”,
“philips”,
“phone”,
“playbook”,
“playstation\\ portable”,
“portalmmm”,
“\\bppc\\b”,
“proxinet”,
“psp”,
“qtek”,
“sagem”,
“samsung”,
“sanyo”,
“sch”,
“sch\\-i800”,
“sec”,
“sendo”,
“sgh”,
“sharp”,
“sharp\\-tq\\-gx10”,
“small”,
“smartphone”,
“softbank”,
“sonyericsson”,
“sph”,
“symbian”,
“symbian\\ os”,
“symbianos”,
“toshiba”,
“treo”,
“ts21i\\-10”,
“up\\.browser”,
“up\\.link”,
“uts”,
“vertu”,
“vodafone”,
“wap”,
“willcome”,
“windows\\ ce”,
“windows\\.ce”,
“winwap”,
“xda”,
“xoom”,
“zte”
]
}
},
“referrer.configuration_overloaded”: false,
“referrer.enabled”: false,
“referrer.rgroups”: {
“search_engines”: {
“theme”: “”,
“enabled”: false,
“redirect”: “”,
“referrers”: [
“google\\.com”,
“yahoo\\.com”,
“bing\\.com”,
“ask\\.com”,
“msn\\.com”
]
}
},
“common.edge”: false,
“common.support”: “”,
“common.track_usage”: “1”,
“common.tweeted”: false,
“config.check”: “1”,
“config.path”: “”,
“widget.latest.items”: 3,
“widget.latest_news.items”: 5,
“widget.pagespeed.enabled”: “1”,
“widget.pagespeed.key”: “”,
“widget.pagespeed.show_in_admin_bar”: “1”,
“timelimit.email_send”: 180,
“timelimit.varnish_purge”: 300,
“timelimit.cache_flush”: 600,
“timelimit.cache_gc”: 600,
“timelimit.cdn_upload”: 600,
“timelimit.cdn_delete”: 300,
“timelimit.cdn_purge”: 300,
“timelimit.cdn_import”: 600,
“timelimit.cdn_test”: 300,
“timelimit.cdn_container_create”: 300,
“timelimit.domain_rename”: 120,
“timelimit.minify_recommendations”: 600,
“common.instance_id”: 44366671,
“common.force_master”: true,
“extensions.active”: {
“fragmentcache”: “w3-total-cache\/Extension_FragmentCache_Plugin.php”,
“newrelic”: “w3-total-cache\/Extension_NewRelic_Plugin.php”,
“wordpress-seo”: “w3-total-cache\/Extension_WordPressSeo_Plugin.php”
},
“extensions.active_frontend”: {
“wordpress-seo”: “*”
},
“plugin.license_key”: “”,
“plugin.type”: “”,
“fragmentcache”: {
“engine”: “”
},
“pgcache.bad_behavior_path”: “”,
“newrelic”: {
“monitoring_type”: “apm”
}
}@bespokebyyou nothing wrong with your settings. Maybe, your theme it’s not compatible with the default compression of w3tc, i see in your html code some CSS3 rules and selectors that can cause some mistakes when are compressed.
a basic solution is use an advanced tool for the compression like yuicompressor https://yui.github.io/yuicompressor/, you can implement it into w3tc but it’s a complex operation and you need a developer for that.
Otherwise you can tell at the theme developers if we are compatible with a some minify plugin and use W3TC only for page caching.
As asked I will paste my server configs. I will specify that the minify stopped working from one day to another, not even sure if after an update.
you can check my settings here:
https://prontoroma.it/info.phpFor a few secs I saw an error message which explained the cause of the problem, although the message is not appearing anymore, the problem still persists.
The message said something like:W3 Total Cache error:It appears Minify URL rewriting is not working. Please verify that the server configuration allows .htaccess Unfortunately minification will not function without custom rewrite rules
implode(): Invalid arguments passed in /var/www/vhosts/prontoroma.it/httpdocs/wp-content/plugins/w3-total-cache/Minify_Environment.php on line 279I do not have any custom rewrite rules in my htaccess, still now everything works besides js/css minification
here is my root htaccess code:
# BEGIN W3TC Browser Cache <IfModule mod_mime.c> AddType text/css .css AddType text/x-component .htc AddType application/x-javascript .js AddType application/javascript .js2 AddType text/javascript .js3 AddType text/x-js .js4 AddType text/html .html .htm AddType text/richtext .rtf .rtx AddType image/svg+xml .svg AddType text/plain .txt AddType text/xsd .xsd AddType text/xsl .xsl AddType text/xml .xml AddType video/asf .asf .asx .wax .wmv .wmx AddType video/avi .avi AddType image/bmp .bmp AddType application/java .class AddType video/divx .divx AddType application/msword .doc .docx AddType application/vnd.ms-fontobject .eot AddType application/x-msdownload .exe AddType image/gif .gif AddType application/x-gzip .gz .gzip AddType image/x-icon .ico AddType image/jpeg .jpg .jpeg .jpe AddType image/webp .webp AddType application/json .json AddType application/vnd.ms-access .mdb AddType audio/midi .mid .midi AddType video/quicktime .mov .qt AddType audio/mpeg .mp3 .m4a AddType video/mp4 .mp4 .m4v AddType video/mpeg .mpeg .mpg .mpe AddType application/vnd.ms-project .mpp AddType application/x-font-otf .otf AddType application/vnd.ms-opentype ._otf AddType application/vnd.oasis.opendocument.database .odb AddType application/vnd.oasis.opendocument.chart .odc AddType application/vnd.oasis.opendocument.formula .odf AddType application/vnd.oasis.opendocument.graphics .odg AddType application/vnd.oasis.opendocument.presentation .odp AddType application/vnd.oasis.opendocument.spreadsheet .ods AddType application/vnd.oasis.opendocument.text .odt AddType audio/ogg .ogg AddType application/pdf .pdf AddType image/png .png AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx AddType audio/x-realaudio .ra .ram AddType image/svg+xml .svg .svgz AddType application/x-shockwave-flash .swf AddType application/x-tar .tar AddType image/tiff .tif .tiff AddType application/x-font-ttf .ttf .ttc AddType application/vnd.ms-opentype ._ttf AddType audio/wav .wav AddType audio/wma .wma AddType application/vnd.ms-write .wri AddType application/font-woff .woff AddType application/font-woff2 .woff2 AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw AddType application/zip .zip </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/css A31536000 ExpiresByType text/x-component A31536000 ExpiresByType application/x-javascript A31536000 ExpiresByType application/javascript A31536000 ExpiresByType text/javascript A31536000 ExpiresByType text/x-js A31536000 ExpiresByType text/html A3600 ExpiresByType text/richtext A3600 ExpiresByType image/svg+xml A3600 ExpiresByType text/plain A3600 ExpiresByType text/xsd A3600 ExpiresByType text/xsl A3600 ExpiresByType text/xml A3600 ExpiresByType video/asf A31536000 ExpiresByType video/avi A31536000 ExpiresByType image/bmp A31536000 ExpiresByType application/java A31536000 ExpiresByType video/divx A31536000 ExpiresByType application/msword A31536000 ExpiresByType application/vnd.ms-fontobject A31536000 ExpiresByType application/x-msdownload A31536000 ExpiresByType image/gif A31536000 ExpiresByType application/x-gzip A31536000 ExpiresByType image/x-icon A31536000 ExpiresByType image/jpeg A31536000 ExpiresByType image/webp A31536000 ExpiresByType application/json A31536000 ExpiresByType application/vnd.ms-access A31536000 ExpiresByType audio/midi A31536000 ExpiresByType video/quicktime A31536000 ExpiresByType audio/mpeg A31536000 ExpiresByType video/mp4 A31536000 ExpiresByType video/mpeg A31536000 ExpiresByType application/vnd.ms-project A31536000 ExpiresByType application/x-font-otf A31536000 ExpiresByType application/vnd.ms-opentype A31536000 ExpiresByType application/vnd.oasis.opendocument.database A31536000 ExpiresByType application/vnd.oasis.opendocument.chart A31536000 ExpiresByType application/vnd.oasis.opendocument.formula A31536000 ExpiresByType application/vnd.oasis.opendocument.graphics A31536000 ExpiresByType application/vnd.oasis.opendocument.presentation A31536000 ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000 ExpiresByType application/vnd.oasis.opendocument.text A31536000 ExpiresByType audio/ogg A31536000 ExpiresByType application/pdf A31536000 ExpiresByType image/png A31536000 ExpiresByType application/vnd.ms-powerpoint A31536000 ExpiresByType audio/x-realaudio A31536000 ExpiresByType image/svg+xml A31536000 ExpiresByType application/x-shockwave-flash A31536000 ExpiresByType application/x-tar A31536000 ExpiresByType image/tiff A31536000 ExpiresByType application/x-font-ttf A31536000 ExpiresByType application/vnd.ms-opentype A31536000 ExpiresByType audio/wav A31536000 ExpiresByType audio/wma A31536000 ExpiresByType application/vnd.ms-write A31536000 ExpiresByType application/font-woff A31536000 ExpiresByType application/font-woff2 A31536000 ExpiresByType application/vnd.ms-excel A31536000 ExpiresByType application/zip A31536000 </IfModule> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> <FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$"> FileETag MTime Size <IfModule mod_headers.c> Header set Pragma "public" Header append Cache-Control "public" Header unset Set-Cookie Header set X-Powered-By "W3 Total Cache/0.9.5.2" </IfModule> </FilesMatch> <FilesMatch "\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$"> FileETag MTime Size <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary Header set Pragma "public" Header append Cache-Control "public" Header set X-Powered-By "W3 Total Cache/0.9.5.2" </IfModule> </FilesMatch> <FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$"> FileETag MTime Size <IfModule mod_headers.c> Header set Pragma "public" Header append Cache-Control "public" Header unset Set-Cookie Header set X-Powered-By "W3 Total Cache/0.9.5.2" </IfModule> </FilesMatch> <FilesMatch "\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$"> <IfModule mod_headers.c> Header unset Last-Modified </IfModule> </FilesMatch> # END W3TC Browser Cache # BEGIN W3TC Page Cache core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} =on RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{SERVER_PORT} =443 RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:_gzip] RewriteCond %{HTTP_COOKIE} w3tc_preview [NC] RewriteRule .* - [E=W3TC_PREVIEW:_preview] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache core # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
here is htaccess in wp-content/cache/minify
# BEGIN W3TC Minify cache <IfModule mod_negotiation.c> Options -MultiViews </IfModule> FileETag MTime Size <IfModule mod_mime.c> AddEncoding gzip .gzip <Files *.css.gzip> ForceType text/css </Files> <Files *.js.gzip> ForceType application/x-javascript </Files> </IfModule> <IfModule mod_deflate.c> <IfModule mod_setenvif.c> SetEnvIfNoCase Request_URI \.gzip$ no-gzip </IfModule> </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/css M31536000 ExpiresByType application/x-javascript M31536000 </IfModule> <IfModule mod_headers.c> Header set X-Powered-By "W3 Total Cache/0.9.5.2" Header set Vary "Accept-Encoding" Header set Pragma "public" Header append Cache-Control "public" </IfModule> # END W3TC Minify cache # BEGIN W3TC Minify core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wp-content/cache/minify/ RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=APPEND_EXT:.gzip] RewriteCond %{REQUEST_FILENAME}%{ENV:APPEND_EXT} -f RewriteRule (.*) $1%{ENV:APPEND_EXT} [L] RewriteRule ^(.+\.(css|js))$ /index.php [L] </IfModule> # END W3TC Minify core
@nigrosimone TY for your response and I’ll keep my fingers crossed that W3 releases an update with the fis soon. Respectfully, Dr. Nuccitelli
- The topic ‘Minify not working anymore’ is closed to new replies.