mytrash Posted May 11, 2012 Share Posted May 11, 2012 Hello, I am preparing new shop for my friend. We enabled homefeatured module which shows featured products on the home page. But we changed the algorithm for retrieving products. Products are displayed in random mode at this time - they are sorted randomly. It works perfectly when the CacheFS is disabled. When the CacheFS is enabled, the output of the module is always the same. I am not able to find details about CacheFS how it works. Is there some options how to disable cache on some parts of the page or some pages? Than you for your help. Myth Link to comment Share on other sites More sharing options...
phrasespot Posted May 14, 2012 Share Posted May 14, 2012 But we changed the algorithm for retrieving products. Products are displayed in random mode at this time. When the CacheFS is enabled, the output of the module is always the same. Without modifications you made products displayed would be the same every time and there would be no need for invalidating the cache. So serving the cached copy from FS is normal behaviour. What you need to do is to invalidate the cache manually. Look at the /classes/CacheFS.php Link to comment Share on other sites More sharing options...
cogeanumarius Posted July 31, 2012 Share Posted July 31, 2012 (edited) HI there phrasespot, I am using PS 1.4.8.2 I have tried in BO > Preferences > Performance to activate cache: Use cache: Yes | Caching system: File System | Directory depth: 1 I receive this note: The system CacheFS should be used only when the infrastructure contain only one front-end server. Ask your hosting company if you don't know. I click save and after 180 secs I get a error message that: Note: I can not use Memcached as I am in a shared environment and I can not request that Memcached to be installed To use Memcached, you must install the Memcache PECL extension on your server. http://www.php.net/manual/en/memcache.installation.php Would you by any chance have an idea where the problem could be? What would I need to check, what are the dependencies, I am not sure if I made any changes that could impact this setting. I am not sure but I think a few days ago it was activated Edited July 31, 2012 by cogeanumarius (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now