Joshua Dickerson

Results 37 comments of Joshua Dickerson

You could potentially use the getModelInstance() method to "find" the mysql4 model. If it fails with resource, then try mysql4. I think to make this work, you need that. IMO,...

So, why is it speeding up the query? Is there a query doing a lookup on the value or is it just because the value is now in memory? Perhaps...

Just curious, does it still work without anything after `category_id IS NOT NULL`? Seems like if you don't even need the additional column/condition.

@greglamy you still interested in this PR? Looks like it would be useful.

Love the discussion about this. Took me a minute to see that your code is safe. I missed the !object && !array part. This would need very extensive testing IMO....

@colinmollenhour by doing the check at save, you remove the ability to force a save. That's a good feature to keep. In the grand scheme, doing a comparison in PHP...

250k comparisons is still very little. If you're loading 1000 products with 50 attributes each, the tiny fraction of a second it will take to check if the attributes are...

Yeah. I also use https://github.com/JayBizzle/Crawler-Detect to make sessions read only for bot. Google has said it will start attempting to place orders on sites and I also use the session...

I think even putting the XML in heredoc in a PHP method would work to have it cached. Not the cleanest method, but the fastest.

@tmotyl yeah, I am using the improvements from OpenMage. It greatly reduces the number of cache calls. Still, it doesn't reduce them to nothing. On the PDP, I am counting...