simply adding wp-content/wptouch-data to the comma-separated JS optimization exclusion list should do the trick wpler.
hope this helps,
frank
Thread Starter
wpler
(@wpler)
Hm, i have add it to “Folgende Skripte von Autoptimize ausschließen:” (sorry, in german) to the list, but not works.
well, can’t check because you didn’t provide a URL, but maybe the directory name is wrong or maybe more needs to be excluded?
Thread Starter
wpler
(@wpler)
I don’t know.. this comes from WPTouch Support:
Inspecting this, I see that the issue is very likely caused by the Autoptimize plugin. To prevent the issue, see if adding the /wp-content/wptouch-data/ directory to the exclusion list for JS and CSS in Autoptimize. Then, clear Autoptimize’s cache and test again.
I have wrote the WPTouch Support again that this not works.
-
This reply was modified 7 years ago by
wpler. Reason: forget to note that I'm writing support
well, then I guess you can tell them you excluded and it still does not work and that you’ll await further instructions? 🙂
can’t say much more, given i’m flying blind here wpler :-p
Thread Starter
wpler
(@wpler)
Ok, WPTouch support investigate this.
But of course… if I’m include the directory wp-content/wptouch-data/cache/ autoptimize ignores this and still cached js files from this directory.
It looks like only files but no directories can be specified here.
Why not?
It looks like only files but no directories can be specified here.
nah, AO most certainly can exclude entire directories, but excluded files that are not minified (based on filename) are minified by AO. So still flying blind here, so can’t say for sure, but maybe try unticking the “Minify excluded CSS and JS files?”-option?
Thread Starter
wpler
(@wpler)
This option are unchecked. It is the file wp-content/wptouch-data/cache/wptouch-[random-md5-hash].js and have minified content in. Obviously wptouch generates this file dynamically on loading or something, because the md5-hash-filename changes constantly.
so, can you finally share that URL wpler? 🙂