Jump to content

Force Compile Issues


Recommended Posts

I've not used prestashop in a while but just started using it again on a new project and there is this force compile? I've read up on it but I dont understand why it was introduced?

 

I've made changes after changes and I constantly have to force it to compile to update and now its not even doing it at the moment running locally I have installed a clear smarty cache also but does anyone have any solutions? I can't see any changes like changing jpgs to pngs and so on, or editing modules etc

 

I'm sick of making changes and not being able to see the effect instant.

Link to comment
Share on other sites

Hi cocothecat,

The idea behind the Force Compile setting in your Back Office (under Preferences > Performance) is to make editing your site much simpler.

 

Basically, rather than relying on cached versions of your site (which will not immediately show your latest changes), this setting forces your site to completely refresh from scratch, ensuring that you will always be seeing the latest version when you activate that setting.

 

Otherwise, you would need to clear your browser's cache regularly just to see your latest changes, as well as cleaning out the Smarty cache in your FTP.

 

The only downside to this setting in your Back Office is that it slows down your Front Office (because it is doing every refresh from scratch instead of leaning on the caching system to speed things up), which is why we recommend that you deactivate it once you're finished making changes.

 

I hope this explains things better for you.

 

-Mike

Link to comment
Share on other sites

The problem is it does not do what its supposed to! I've had this problem with live sites and local sites. Browser cache is not the problem the fact its not compatible with most of the default modules is!

 

A price example is the "Block Stores" I've changed the details in the code to display how I want it to and even changed the store image but no update regardless how many times I force it to comply, clear my browser cache, nothing. The same applies to using .pngs instead of jpgs!

 

I'm not thick I been in web development for over 11 years, I just find this kind of thing is going to put me off and other people and a quick google shows I'm not the only person with this issue.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...