mk2-pronat Posted October 30 Share Posted October 30 (edited) Hello, It seems i started experiencing some issues regarding the cache. When i inspect the elements in browser console, it seems to render them from the themes cache folder and not the original file location. This did not happen before and i never encountered this anywhere, so i don't even know where else to go. For context: I'm using warehouse theme v4.3.7 I have JPresta - Page Cache Ultimate installed and i cleared the cache like i did before many times and it works. I also cleared the PrestaShop cache from back-office. I recently installed Google WebP Generator Configuration and it worked fine until now. I talked to the developers and asked if this could be a problem but they did not answer since yesterday so i don't know what is going on there but like i said, after installation it was fine. The only other change i did before this was to remove some font declaration from custom.css and moved them to the theme "Custom font face include" in"live theme editor" in back-office. I moved them back to custom.css because i was hoping from some other results, but they did not work. As far as i can tell this was some sort of trigger point for all of this but don't understand why if it is Now, this comes with another issue with the homepage. At some intervals it seems to not render the styles and i have to manually clear JPresta - Page Cache Ultimate for it to work.... I added a image from browser console for context and highlighted what i mean about elements rendering from cache folder. Edited October 31 by mk2-pronat Solved (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted October 30 Share Posted October 30 disable CCC (Combining, Compression and Cache) in advanced settings > performance Link to comment Share on other sites More sharing options...
mk2-pronat Posted October 30 Author Share Posted October 30 Thank you, it seems to have worked. I also forced recompile of templates and deleted local overrides than reactivated the CCC for css. I still don't understand why this happened because it was working fine. Anyway, it's good for know. Link to comment Share on other sites More sharing options...
Divine Posted October 30 Share Posted October 30 Hi, don't forget to edit your first post and to add [Solved] in the title Link to comment Share on other sites More sharing options...
mk2-pronat Posted October 30 Author Share Posted October 30 Hi, I was waiting to see what happens, and it seems that the problem is reoccurring. It keeps caching things in themes/warehouse/cache/ even tough i disabled, CSS, JS and Optimize for Apache settings. I also disable cache and recompile of templates etc. and manually deleted everything from theme cache folder but still nothing. Hoping to get some other advice. Link to comment Share on other sites More sharing options...
El Patron Posted October 30 Share Posted October 30 (edited) I don't recommend cache module, in fact new clients that have it, after I remove it, many issues go away... try disabling it to see if this solves Edited October 30 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
mk2-pronat Posted October 31 Author Share Posted October 31 Thank you for the advice. The thing is that after installing the module, there was an increase in load speed, but perhaps there was not a good configuration in place. Right now i disabled CCC from PrestaShop again like @juanrojas said, and it seem to hold. I will try to experiment in the future with disabling different modules that use cache to see if there is any difference. To test, I will have to keep deleting cache to see true results, but that makes it run slow for the users. I have a module that rebuilds it, but it seems that it's not doing its job very well. Anyway, thank you for the advice, it's clear to me that there is a conflict with the modules and without testing , there is no way to knowing what is going on. Link to comment Share on other sites More sharing options...
El Patron Posted October 31 Share Posted October 31 3 hours ago, mk2-pronat said: Thank you for the advice. The thing is that after installing the module, there was an increase in load speed, but perhaps there was not a good configuration in place. Right now i disabled CCC from PrestaShop again like @juanrojas said, and it seem to hold. I will try to experiment in the future with disabling different modules that use cache to see if there is any difference. To test, I will have to keep deleting cache to see true results, but that makes it run slow for the users. I have a module that rebuilds it, but it seems that it's not doing its job very well. Anyway, thank you for the advice, it's clear to me that there is a conflict with the modules and without testing , there is no way to knowing what is going on. yes, that is issue with cache modules, they create issues you can not replicate. tip: you would only disable CCC of .css and .js files if the name of the CCC'ed files are different across different page types, index/category/product...view source to check file names....if same then CCC is very helpful. our agency has solved many clients issues over time removing js cache, other modules that suggest performance.... good luck Link to comment Share on other sites More sharing options...
mk2-pronat Posted November 1 Author Share Posted November 1 Thank you @El Patron and @juanrojas for your time and advice. I'l keep learning and testing. 1 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