Caching Problem with VPS Server using Prestashop
I seem to be having a caching problem with smarty cache inside prestashop or a setting on the VPS server side. When making changes such as category add or delete or a CSS change the changes do not reflect until 24 to 36 hours. If I turn off smarty cache and set to force compilation the changes of course are immediate. But if I wait 10 minutes and turn smarty cache back on, as it should be, and take off the force compilation the changes are not saved. So I assume it is pulling old cached data. I talked to tech support and they said try the prestahop forums. I get several responses from developers that said they have never had this problem with prestashop. One developer suggested some sort of server settings. Please read his response below.
I have not had any of the issues that you have stated. I have worked on several hundred shops in my time developing with Prestashop. My best guess is that it is an issue with your server permissions though. Under some forms of php and specific conditions an application can create files, but not have the ability to delete or modify them. That could very well be the case on your site. The clear cache button might not be working because the permissions on your server are not set to standard settings.
Why don't you tell us more about your problem and we might be able to help more. Who is your host? Are they running a vps cloud? Is there an nginx frontend server? When you delete the cache files through Prestashop are they actually deleted?
Does anyone have any idea what is causing the updates to take so long to be saved?
Hosting complicates the issue. Every hosting company wants to do things differently, so it is hard to write software that works with every host with their odd settings.
I have not had any of the issues that you have stated. I have worked on several hundred shops in my time developing with Prestashop. My best guess is that it is an issue with your server permissions though. Under some forms of php and specific conditions an application can create files, but not have the ability to delete or modify them. That could very well be the case on your site. The clear cache button might not be working because the permissions on your server are not set to standard settings.
Why don't you tell us more about your problem and we might be able to help more. Who is your host? Are they running a vps cloud? Is there an nginx frontend server? When you delete the cache files through Prestashop are they actually deleted?
Does anyone have any idea what is causing the updates to take so long to be saved?
Hosting complicates the issue. Every hosting company wants to do things differently, so it is hard to write software that works with every host with their odd settings.