• Hello, I’m the author of “Smart Cookie Kit”, a plugin that blocks third party cookies until a visitor accept the cookie policy of the site.

    My plugin is compatibile with your free version of Fastest Cache, but it has some problems with the “render blocking js” feature of the premium version: I’ve added to the main script of Smart Cookie Kit the wpfc-render=”false” attribute, and it is ok, but sometimes my plugin replaces blocked scripts with an empty file and the problem is that it is included in the deferred-aggregated script even if it has the data-wpfc-render attribute.

    If I disable the “render blocking js” option I see in the page code:
    <script type='text/javascript' src="https://localhost:8888/Wordpress/wp-content/plugins/smart-cookie-kit/res/empty.js" data-blocked="https://maps.googleapis.com/maps/api/js?v=3&key=_________________&ver=3.6" data-sck_type="2" data-wpfc-render="false" data-sck_unlock="profiling" data-sck_ref="Google Maps" data-sck_index="1" class="BlockedBySmartCookieKit"></script>

    I thought that it happens because the “replace task” of my plugin takes place working with the output buffer, but I have tried putting some content in the empty.js script and I have found it in the deferred-aggregated script: this demonstrates that Fastest Cache “manages” that script AFTER mine makes the replacement, which is fine, but for some reasons it ignores the data-wpfc-render attribute!

    Could you help me to makes plugins compatible?

    It would be great to have a filter to exclude scripts from minification/aggregation ??

    Hope to hear soon from you!
    Best regards, Nicola.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Compatibility with “Smart Cookie Kit”’ is closed to new replies.