Skip to content

Commit 190473c

Browse files
author
Renato Marinho
authored
Roadmap
1 parent e5651d9 commit 190473c

File tree

1 file changed

+215
-1
lines changed

1 file changed

+215
-1
lines changed

README.md

Lines changed: 215 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ protected $middleware = [
2626
]
2727
```
2828

29-
3029
#### Before
3130

3231
![Before of Laravel Blade Minify](https://i.imgur.com/cN3MWYh.png)
@@ -35,6 +34,221 @@ protected $middleware = [
3534

3635
![After of Laravel Blade Minify](https://i.imgur.com/IKWKLkL.png)
3736

37+
## Roadmap : Filters
38+
39+
<table>
40+
<tr>
41+
<td>Name</td>
42+
<td>Description</td>
43+
<td>Available</td>
44+
<tr>
45+
<tr>
46+
<td>collapse_whitespace</td>
47+
<td>Removes unnecessary whitespace in HTML</td>
48+
<td>YES</td>
49+
<tr>
50+
<tr>
51+
<td>remove_comments</td>
52+
<td>Removes HTML comments</td>
53+
<td>YES</td>
54+
<tr>
55+
<tr>
56+
<td>combine_css</td>
57+
<td>Combines multiple CSS files into one</td>
58+
<td>NO</td>
59+
<tr>
60+
<tr>
61+
<td>combine_heads</td>
62+
<td>Combines multiple <head> elements into one</td>
63+
<td>NO</td>
64+
<tr>
65+
<tr>
66+
<td>combine_javascript</td>
67+
<td>Combines multiple JavaScript files into one</td>
68+
<td>NO</td>
69+
<tr>
70+
<tr>
71+
<td>dedup_inlined_images</td>
72+
<td>Replaces repeated inlined images with JavaScript that loads the data from the first instance of the image</td>
73+
<td>NO</td>
74+
<tr>
75+
<tr>
76+
<td>defer_javascript</td>
77+
<td>Defers the execution of javascript in the HTML</td>
78+
<td>NO</td>
79+
<tr>
80+
<tr>
81+
<td>elide_attributes</td>
82+
<td>Removes unnecessary attributes in HTML tags</td>
83+
<td>NO</td>
84+
<tr>
85+
<tr>
86+
<td>pedantic</td>
87+
<td>Adds default type attributes to script and style tags that are missing them</td>
88+
<td>NO</td>
89+
<tr>
90+
<tr>
91+
<td>extend_cache</td>
92+
<td>Improves cacheability</td>
93+
<td>NO</td>
94+
<tr>
95+
<tr>
96+
<td>fallback_rewrite_css_urls</td>
97+
<td>Rewrite URLs in CSS even if CSS is not parseable</td>
98+
<td>NO</td>
99+
<tr>
100+
<tr>
101+
<td>flatten_css_imports</td>
102+
<td>Flattens @import rules in CSS by replacing the rule with the contents of the imported resource</td>
103+
<td>NO</td>
104+
<tr>
105+
<tr>
106+
<td>hint_preload_subresources</td>
107+
<td>Inserts link: headers to preload CSS and JavaScript resources</td>
108+
<td>NO</td>
109+
<tr>
110+
<tr>
111+
<td>inline_css</td>
112+
<td>Inlines small external CSS files</td>
113+
<td>NO</td>
114+
<tr>
115+
<tr>
116+
<td>inline_google_font_css</td>
117+
<td>Inlines small font-loading CSS from Google Fonts API</td>
118+
<td>NO</td>
119+
<tr>
120+
<tr>
121+
<td>inline_import_to_link</td>
122+
<td>Inlines style tags comprising only CSS @imports by converting them to an equivalent link</td>
123+
<td>NO</td>
124+
<tr>
125+
<tr>
126+
<td>inline_javascript</td>
127+
<td>Inlines small external Javascript files</td>
128+
<td>NO</td>
129+
<tr>
130+
<tr>
131+
<td>inline_preview_images</td>
132+
<td>Delays original images; serves inlined, low-quality placeholder images until originals are loaded</td>
133+
<td>NO</td>
134+
<tr>
135+
<tr>
136+
<td>insert_dns_prefetch</td>
137+
<td>Injects <link rel="dns-prefetch" href="//www.example.com"> tags in the HEAD to enable the browser to do DNS prefetching</td>
138+
<td>NO</td>
139+
<tr>
140+
<tr>
141+
<td>insert_ga</td>
142+
<td>Inserts Google Analytics javascript snippet</td>
143+
<td>NO</td>
144+
<tr>
145+
<tr>
146+
<td>lazyload_images</td>
147+
<td>Loads images when they become visible in the client viewport</td>
148+
<td>NO</td>
149+
<tr>
150+
<tr>
151+
<td>local_storage_cache</td>
152+
<td>Loads inlined CSS and image resources into HTML5 local storage whence the client fetches them subsequently rather than the server sending them again</td>
153+
<td>NO</td>
154+
<tr>
155+
<tr>
156+
<td>make_show_ads_async</td>
157+
<td>Converts synchronous Google AdSense tags to asynchronous format</td>
158+
<td>NO</td>
159+
<tr>
160+
<tr>
161+
<td>make_google_analytics_async</td>
162+
<td>Converts synchronous Google Analytics code to load asynchronously</td>
163+
<td>NO</td>
164+
<tr>
165+
<tr>
166+
<td>move_css_above_scripts</td>
167+
<td>Moves CSS Above Scripts</td>
168+
<td>NO</td>
169+
<tr>
170+
<tr>
171+
<td>move_css_to_head</td>
172+
<td>Moves CSS into the <head> element</td>
173+
<td>NO</td>
174+
<tr>
175+
<tr>
176+
<td>outline_css</td>
177+
<td>Moves large inline <style> tags into external files for cacheability</td>
178+
<td>NO</td>
179+
<tr>
180+
<tr>
181+
<td>outline_javascript</td>
182+
<td>Moves large inline <script> tags into external files for cacheability</td>
183+
<td>NO</td>
184+
<tr>
185+
<tr>
186+
<td>prioritize_critical_css</td>
187+
<td>Instruments the page, inlines its critical CSS at the top, and lazily loads the rest</td>
188+
<td>NO</td>
189+
<tr>
190+
<tr>
191+
<td>remove_quotes</td>
192+
<td>Removes unnecessary quotes in HTML tags</td>
193+
<td>NO</td>
194+
<tr>
195+
<tr>
196+
<td>resize_mobile_images</td>
197+
<td>Just like inline_preview_images, but uses smaller placeholder images for mobile browsers</td>
198+
<td>NO</td>
199+
<tr>
200+
<tr>
201+
<td>resize_rendered_image_dimensions</td>
202+
<td>Resize images to rendered dimensions</td>
203+
<td>NO</td>
204+
<tr>
205+
<tr>
206+
<td>responsive_images</td>
207+
<td>Serve responsive images using the srcset attribute</td>
208+
<td>NO</td>
209+
<tr>
210+
<tr>
211+
<td>rewrite_css</td>
212+
<td>Minifies CSS</td>
213+
<td>NO</td>
214+
<tr>
215+
<tr>
216+
<td>rewrite_images</td>
217+
<td>Rescales, and compresses images; inlines small ones</td>
218+
<td>NO</td>
219+
<tr>
220+
<tr>
221+
<td>rewrite_javascript</td>
222+
<td>Minifies Javascript</td>
223+
<td>NO</td>
224+
<tr>
225+
<tr>
226+
<td>rewrite_style_attributes</td>
227+
<td>Rewrite the CSS in style attributes by applying the configured rewrite_css filter to it</td>
228+
<td>NO</td>
229+
<tr>
230+
<tr>
231+
<td>rewrite_style_attributes_with_url</td>
232+
<td>Rewrite the CSS in style attributes by applying the configured rewrite_css filter to it, but only if the attribute contains the text 'url('</td>
233+
<td>NO</td>
234+
<tr>
235+
<tr>
236+
<td>sprite_images</td>
237+
<td>Sprites images</td>
238+
<td>NO</td>
239+
<tr>
240+
<tr>
241+
<td>trim_urls</td>
242+
<td>Removes unnecessary prefixes from URLs</td>
243+
<td>NO</td>
244+
<tr>
245+
</table>
246+
247+
<hr />
248+
249+
## Inspiration
250+
251+
#### Mod Page Speed (https://www.modpagespeed.com/)
38252

39253
## License
40254

0 commit comments

Comments
 (0)