<?php ! defined( 'ABSPATH' ) && exit(); ?><div class="totalpoll-tabs-container">
    <div class="totalpoll-tab-content active">
        <div class="totalpoll-settings-item">
            <div class="totalpoll-settings-field">
                <label>
                    <input type="checkbox" name="" ng-model="$ctrl.options.performance.async.enabled">
					<?php _e( 'Asynchronous loading', 'totalpoll' ); ?>
                </label>

                <p class="totalpoll-feature-tip"><?php _e( 'This can be useful when you would like to bypass cache mechanisms and plugins.', 'totalpoll' ); ?></p>
            </div>
        </div>
        <div class="totalpoll-settings-item">
            <div class="totalpoll-settings-field">
                <label>
                    <input type="checkbox" name="" ng-model="$ctrl.options.performance.fullChecks.enabled">
					<?php _e( 'Full checks on page load.', 'totalpoll' ); ?>
                </label>

                <p class="totalpoll-feature-tip"><?php _e( 'This may put high load on your server because TotalPoll will hit the database frequently.', 'totalpoll' ); ?></p>
            </div>
        </div>
        <div class="totalpoll-settings-item">
            <div class="totalpoll-settings-field">
                <button type="button" class="button" ng-click="$ctrl.purge('cache')" ng-disabled="$ctrl.isPurging('cache') || $ctrl.isPurged('cache')">
                    <span ng-if="$ctrl.isPurgeReady('cache')"><?php _e( 'Clear cache', 'totalpoll' ); ?></span>
                    <span ng-if="$ctrl.isPurging('cache')"><?php _e( 'Clearing', 'totalpoll' ); ?></span>
                    <span ng-if="$ctrl.isPurged('cache')"><?php _e( 'Cleared', 'totalpoll' ); ?></span>
                </button>
            </div>
        </div>
    </div>
</div>