Closed stargazer33 closed 11 years ago
OK, it seems, modifying the memcached argument -I helps. I set it to the value
-I 2M
At the moment it works, no error
Just checked the generated HTML size. It's about 1.5M. This explains why increasing memcached parameter helps.
Actually I just want these dropdown lists. At the the moment I use 7 dropdown lists for the product. It seems using these dropdown lists/options creates problems in cartridge (huge number of variations)
I've no idea what approach will be best for you, but you may need to consider taking a step back and reconsidering a different approach to what you're doing. 1.5M of HTML isn't going to allow for a well functioning site.
@stargazer33, How do you set the -I
memcached argument in CACHES? Does it go in OPTIONS? I'm having trouble finding any documentation for that in the python wrapper docs.
When I want to view a product with a lot of product variants (about 1000) and caching with memcached is enabled I get this error:
here my cache settings:
I googled a bit about this error... it seems it is related to 1M limit of memcached value. I tried with PYLIBMC_MIN_COMPRESS_LEN set and without it, same results