Minify JavaScript – Performance Improve
-
Hi there, I was just working on improving the performance of a project while i noticed that your plugin does not minify your own JavaScript (photoswipe-masonry.js).
Please add a minified version (photoswipe-masonry.min.js) and enqueue that in photoswipe-masonry.php instead of the unminified version.
wp_enqueue_script( 'photoswipe-masonry-js', $photoswipe_wp_plugin_path . '/photoswipe-masonry.min.js');
Same goes for the your CSS, the following files are not minified:
- photoswipe.css
- default-skin.css
- all other skins
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Minify JavaScript – Performance Improve’ is closed to new replies.