@TomJNowell I'm not using this in WP, it's a pure PHP script
@MarkKaplun Sessions are stored on the server so users don't have access to them. I was thinking, that I use sessions if the 'Remember me' checkbox is not checked, since the session ends after browser is closed and use cookies if the box is checked
@JackJohansson if for nothing else, sessions will not work when your configuration has mutiple servers. Caching might also be a problem, depending on what you exactly do. For something like remember me just handle it like wordpress handles, longer cookie expiration time and store the user/password as a salted hash value
I learned two months ago that you can use redis to store sessions but I have illogical bias against such a solution, maybe because redis requires extra installs and config
@TomJNowell I was also thinking of that, but I hate simple solutions :P
A final question, do major shops with millions of users use some kind of special engines like elastic search for their listings? Because they have tons of products and they're still super fast
the thing I always say to people that wants to make money from their sites is that they should never use algorithms to show things like "recent post" but decide in advance what is it that they want the user to buy
there are all kinds of possible strategy, profit, least popular, most popular, and probably others. each might make sense in some context and all of them make more sense than publishing order
@JackJohansson it's the difference between 2 input boxes for a lower and a maximum bounds on price in a filter, versus predefined ranges. The input boxes will never scale
talking about naive people... people that 1 star guttenberg think that anyone cares about their plea of leaving it as a plugin. Their naivety is heart warming.
have you considered that perhaps this is an overreaction to an initial tagging of enhancement? Nobody has responded to that issue yet, nor has anybody said it will never happen, or that it won't