Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
litespeed_wiki:cache:lscwp:configuration:minification [2017/09/14 15:27] Lisa Clarke |
litespeed_wiki:cache:lscwp:configuration:minification [2017/09/22 14:25] (current) Lisa Clarke [Minify] Fixed typos and added nowiki to link. |
||
---|---|---|---|
Line 14: | Line 14: | ||
Minified CSS and JS will be placed in the code with a line that looks similar to: | Minified CSS and JS will be placed in the code with a line that looks similar to: | ||
''<script data-minified='1' src='http://yoursite.com/min/3fb36.js'></script>''. | ''<script data-minified='1' src='http://yoursite.com/min/3fb36.js'></script>''. | ||
- | Please be aware, if you do not have pretty permalinks enabled (i.e., you site has URLs that look like ''http://yoursite.com/?p=123'' then your minified code will have a ''?'' in the URL like so: | + | Please be aware, if you do not have pretty permalinks enabled (i.e., your site has URLs that look like ''<nowiki>http://yoursite.com/?p=123</nowiki>'') then your minified code will have a ''?'' in the URL like so: |
''<script data-minified='1' src='http://yoursite.com/?/min/3fb36.js'></script>'' | ''<script data-minified='1' src='http://yoursite.com/?/min/3fb36.js'></script>'' | ||