MortenH Posted April 13, 2018 Share Posted April 13, 2018 Hey, I've been trying to disable the smart cache for javascript and it simply does not change. It stays on "yes". (In performance settings) I've tried turning off PS_SMART_CACHE in the database table PS_CONFIGURATION as well, that didn't help either. I am using prestashop 1.7.3.1 and the warehouse theme. Link to comment Share on other sites More sharing options...
babyloncloud Posted April 14, 2018 Share Posted April 14, 2018 On 4/13/2018 at 1:33 PM, MortenH said: Hey, I've been trying to disable the smart cache for javascript and it simply does not change. It stays on "yes". (In performance settings) I've tried turning off PS_SMART_CACHE in the database table PS_CONFIGURATION as well, that didn't help either. I am using prestashop 1.7.3.1 and the warehouse theme. Same here. Link to comment Share on other sites More sharing options...
markoroots Posted April 14, 2018 Share Posted April 14, 2018 (edited) Can some one give us some help please? Edited April 14, 2018 by markoroots (see edit history) Link to comment Share on other sites More sharing options...
MortenH Posted April 17, 2018 Author Share Posted April 17, 2018 Not sure if bumping is allowed but i'm still hoping to have this answered and fixed. Link to comment Share on other sites More sharing options...
MortenH Posted April 19, 2018 Author Share Posted April 19, 2018 Bump Link to comment Share on other sites More sharing options...
feinkost Posted May 14, 2018 Share Posted May 14, 2018 On 13.4.2018 at 2:33 PM, MortenH said: Hey, I've been trying to disable the smart cache for javascript and it simply does not change. It stays on "yes". (In performance settings) I've tried turning off PS_SMART_CACHE in the database table PS_CONFIGURATION as well, that didn't help either. I am using prestashop 1.7.3.1 and the warehouse theme. same for me, v1.7.3.2 Link to comment Share on other sites More sharing options...
goanta Posted May 20, 2018 Share Posted May 20, 2018 same here 1.7.3.2 Link to comment Share on other sites More sharing options...
sylarlocke Posted June 4, 2018 Share Posted June 4, 2018 Hi exactly the same but in Smart Cache CSS Link to comment Share on other sites More sharing options...
sylarlocke Posted June 4, 2018 Share Posted June 4, 2018 Here solutions, only you have find javascript: https://www.prestashop.com/forums/topic/713149-cannot-turn-off-smart-cache-for-css-in-ps173/ Link to comment Share on other sites More sharing options...
labulle Posted October 17, 2018 Share Posted October 17, 2018 It seems PS forgot to save value when disabled. I've to add : $this->configuration->set('PS_JS_THEME_CACHE', $configuration['smart_cache_js']); after line 99 : (if ($this->validateConfiguration($configuration)) {) in method updateConfiguration of file /src/Adapter/Cache/CombineCompressCacheConfiguration.php 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