diff --git a/config/laravel-page-speed.php b/config/laravel-page-speed.php index 157b9b0..6c4c371 100644 --- a/config/laravel-page-speed.php +++ b/config/laravel-page-speed.php @@ -12,6 +12,44 @@ 'filters' => [ 'collapse_whitespace' => true, - + 'remove_comments' => true, + 'combine_css' => false, + 'combine_heads' => false, + 'combine_javascript' => false, + 'dedup_inlined_images' => false, + 'defer_javascript' => false, + 'elide_attributes' => false, + 'pedantic' => false, + 'extend_cache' => false, + 'fallback_rewrite_css_urls' => false, + 'flatten_css_imports' => false, + 'hint_preload_subresources' => false, + 'inline_css' => false, + 'inline_google_font_css' => false, + 'inline_import_to_link' => false, + 'inline_javascript' => false, + 'inline_preview_images' => false, + 'insert_dns_prefetch' => false, + 'insert_ga' => false, + 'lazyload_images' => false, + 'local_storage_cache' => false, + 'make_show_ads_async' => false, + 'make_google_analytics_async' => false, + 'move_css_above_scripts' => false, + 'move_css_to_head' => false, + 'outline_css' => false, + 'outline_javascript' => false, + 'prioritize_critical_css' => false, + 'remove_quotes' => false, + 'resize_mobile_images' => false, + 'resize_rendered_image_dimensions' => false, + 'responsive_images' => false, + 'rewrite_css' => false, + 'rewrite_images' => false, + 'rewrite_javascript' => false, + 'rewrite_style_attributes' => false, + 'rewrite_style_attributes_with_url' => false, + 'sprite_images' => false, + 'trim_urls' => false ] ]; \ No newline at end of file diff --git a/src/Middleware/CombineCss.php b/src/Middleware/CombineCss.php new file mode 100644 index 0000000..1319493 --- /dev/null +++ b/src/Middleware/CombineCss.php @@ -0,0 +1,21 @@ +