interesting sven. what does panopress do? can I download it somewhere to test?
frank
by looking at your site, I see that at least some of the inline JS is not aggregated, e.g. this:
panopress.embed({"id":"pp_10","type":"html","version":"4.0","viewer":null,"width":"100%","height":"343px","title":null,"alt":null,"button":true,"panobox":false,"preview":"https:\/\/ziin.de\/wp-content\/uploads\/panoramas\/travel\/2014_North_America_West_Coast\/USA\/California\/Yosemite_National_Park\/Yosemite_Valley\/Yosemite_Valley_2_Preview.jpg","file":"https:\/\/ziin.de\/wp-content\/uploads\/panoramas\/travel\/2014_North_America_West_Coast\/USA\/California\/Yosemite_National_Park\/Yosemite_Valley\/Yosemite_Valley_2.html","params":{"base":"https:\/\/ziin.de\/wp-content\/uploads\/panoramas\/travel\/2014_North_America_West_Coast\/USA\/California\/Yosemite_National_Park\/Yosemite_Valley\/"}})
but more importantly also:
<script type="text/javascript">panopress.imagebox();</script>
Is this due to some JS optimization exclusion? Or don’t you have “aggregate inline JS” op (new on AO settings-page)?
frank
Hi Frank,
“aggregate inline JS” fixed it :-). Thanks!
Panopress embeds HTML5/flash panoramas which have been created with krpano (http://www.krpano.com/) using shortcodes in your post. Panopress is free of charge but has not yet been updated since 2 years (http://www.panopress.org/).
So, nothing else remains 🙂
Bye,
Sven
ok, great!
follow-up question; how did you install AO2.0? because there’s code in there to automatically turn “aggregate inline JS” on if you’re upgrading. the only reason (I can think of) why would not happen, is if you deactivated AO 1.9.4 first (which removes all options) and then downloaded/ activated 2.0?
frank
Hi Frank,
that is exactly how I did it: deactivate AO 1.9.4, removed the files from the plugins directory and downloaded it from https://downloads.wordpress.org/plugin/autoptimize.zip.
I didn’t see any update possibility within the WordPress plugin manager. What is the right way to update?
Sven
well, there’s no official update yet, this is just a beta, so there’s no out-of-the-box installation procedure.
the best way would have been to just overwrite the wp-content/plugins/autoptimize folder, in which case it would have behaved like an update (with “aggregate inline JS” active) rather then a fresh install (which by default does not aggregate inline JS and forces JS in head).
but all’s working, so no worries 🙂
thanks for all the feedback & enjoy the end-of-year craziness!
frank
Hi Frank,
didn’t know that. Wasn’t sure if the new plugin has less files and those files are not deleted by overwriting (I like to have a tidy server :-)).
I’ll definetely enjoy it, you too 🙂
Sven