PeterKottas
Forum Replies Created
-
Yeah sure, so the way it currently works is it calculates the distance from the bottom of the page. So if the sidebar is long the distance will be high. Consider this as an example. https://tipsforholiday.com/shorts/ first row is preloaded. Second row loads on page load (not sure why to be honest) but then the third row is loaded only if you scroll way down to the footer. Would be better if it’s loaded when distance between button and the bottom of the screen (not bottom of the page, two different things) is taken into consideration. That way it will load content as you scroll to it invariant of the bottom of the page.
Cool, looking forward to it.
Cool stuff ! Thanks Jan this is much better 🙂 And now that I checked it again, there are obviously 5 not 6 shorts there. Noticed weird thing as well, can’t edit my posts for some reason. Maybe cause I don’t post frequently enough. Well anyways I hope the idea got through
Crap, it broke empty spaces in that example. Anyways, 2 big feature posts 6 shorts next to each other, one wide article.
Cool, works for me. Not as elegant, maybe you can add it in some future release but to be fair, maybe not a lot of people would use that anyways. I can imagine some of them wanting to assign some custom animation or background so it might be useful.
Well found one more problem now. The thing is. I need to apply css classes to the inner wrapper (the one with alm-reveal applied to it) not the outer one. You can see that with the outer container it doesn’t work. For obvious reasons.
https://tipsforholiday.com/shorts/
Is it possible to apply styles to this inner one?Oh cool, the thing I was missing was the container is created every time new page is fetched. Works as a charm no. Sorry for a stupid question. Should have spent more time playing with it. It’s actually coded surprisingly good for a wp plugin. I just assumed it won’t work.
One idea though. Might be cool if we can get alternating template. So use one template if page%3==0, other when page%3==1. Just an idea. Might produce some cool results. In my case for example have 1/4 1/4 1/4 1/4 in first row. Then 1/2 1/4 1/4 in second. Something like tiles. Might need to adjust post per page as well for this. Just an idea.
Anyways, thanks for you help!
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesShouldn’t be to bad, you just need to put a check-box to the settings of the plugin and then rather than
<script src="//tipsforholiday.com/wp-content/cache/wpfc-minified/fd71ce8aeb8291c5d38cc7a4690fab15/1433944069index.js" type="application/ld+json"></script>
output :
<script async src="//tipsforholiday.com/wp-content/cache/wpfc-minified/fd71ce8aeb8291c5d38cc7a4690fab15/1433944069index.js" type="application/ld+json"></script>Of course there’s a bit more to it but you’ll probably gain at least one user – me based on this feature so it should be worth it 🙂
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesOk that’s true. About the async (if you decide to implement which i think would be a good idea).
http://tipsforholiday.com/wp-content/cache/wpfc-minified/d3d3dd1f5dc34f2d90be29bbf7e7bcd2/1433944069index.js
http://tipsforholiday.com/wp-content/cache/wpfc-minified/d3d3dd1f5dc34f2d90be29bbf7e7bcd2/1433944069index.js
http://tipsforholiday.com/wp-includes/js/comment-reply.min.js?ver=4.2.2
http://tipsforholiday.com/wp-content/plugins/cornerstone/assets/js/dist/site/cs-body.min.js?ver=1.0.1These are the js files that causes problems. They are in the top panel titled “Should Fix:”. Especialy the first one, that is the concatenated js which might be async but it’s not.
This is from the page head.
<script src="//tipsforholiday.com/wp-content/cache/wpfc-minified/fd71ce8aeb8291c5d38cc7a4690fab15/1433944069index.js" type="application/ld+json"></script> <script src="//tipsforholiday.com/wp-content/cache/wpfc-minified/32deedd44e5f6cb998466dc3667cd2ce/1433944069index.js" type="application/ld+json"></script>Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesYes of course! http://tipsforholiday.com you can see the page analysis at https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Ftipsforholiday.com%2F&tab=desktop
Thanks
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesAnd what about the browser caching ? Have a clue why it shows up as unresolved issue ?
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesIs there an option to make combined resources async in premium version ?
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesLooking at it again, I am using concatenation (it s called combine in the plugin) and the non premium version don’t offer option to minify concatenated files. So the real problem is html minify, browser caching and render blocking (there should be an option to make combined resources async in the plugin). Of course you need to let people decide because some js have to load before the page. Async would help for sure. In my case js is 397kb and there is no reason for it not to be async.
Forum: Plugins
In reply to: [WP Fastest Cache - WordPress Cache Plugin] PageSpeed Insights FixesSame “issue” here. Not that I m chasing numbers or anything but it might help the plugin to look better in benchmarks.