Precompiled Resources Option


Precompiled Resources Option is one of the most often used options from the resource optimization options at Easy Social Share Buttons. But we think that most of the users set the options in that section at random and just turn all of them on. That way they believe their site is best speed optimized. But that is not true.

Each option from the Static Resource Optimizations has its specific function. And if the setting is turned on without need, there is negative result to the loading speed or there are visualization issues.

How Precompiled Resources Option Works?

By default Easy Social Share Buttons is made to add CSS and JavaScript files only if they are needed. That means that the files generated at the code vary depends on the settings made from each user. That way of work is the most speed optimize method, because it saves unnecessary code that have to be executed with no need.

When Easy Social Share Buttons is activated and share buttons are added to one installation, at the code is included one basic template file. If the user make any specific settings as activating another template, additional display methods, native buttons, mail button, subscribe button and so on, other separate files will be added to the code. And when the page is loaded calls for each of these files will be started. Which simply means that there is time needed these calls to be completed.

And Here Is The Situation When Precompiled Is Useful


When Use plugin precompiled resources option is activated all the files (CSS and JavaScript) from ESSB settings are combined in one common file, saved on your server. And when the page is loaded, there will be only one file download call. Which saves time and loading resources.

With each update of the Easy Social Share Buttons settings that precompiled filed is generated again. That way all the settings you have changed are displayed as they are set.

When Precompiled Is NOT Useful

In short Precompiled resources option use the way of work of all cache plugins. That is the reason that option do not have to be used with caches from any type.

When you have separate cache plugin and precompiled resources option activated, each of these cache actions is refreshed in different time. That can makes visualization issues or the settings made at the ESSB menu are just not applied at the code.

Technically it is possible precompiled option to work with cache plugins with no troubles. But if there is visualization issue turn off the precompiled option.