This website requires JavaScript.
Explore
Help
Sign in
Friendica
/
friendica-github
Watch
1
Star
0
Fork
You've already forked friendica-github
0
mirror of
https://github.com/friendica/friendica
synced
2024-12-25 16:00:16 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
609c45e791
friendica-github
/
view
/
theme
/
frost-mobile
/
profed_head.tpl
6 lines
95 B
Smarty
Raw
Normal View
History
Unescape
Escape
Introducing Frost Mobile
2012-07-24 15:16:51 +00:00
Modify Javascript to improve page loading times 1. Add template category 'end' that places content right before final </body> tag 2. Move most Javascript from tpl files into one cacheable file, theme.js 3. Load scripts at end of the HTML document instead of in the header 4. Minify several Javascript files Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
2012-07-28 15:57:16 +00:00
<script language="javascript" type="text/javascript">
window.editSelect = "none";
Introducing Frost Mobile
2012-07-24 15:16:51 +00:00
</script>
Modify Javascript to improve page loading times 1. Add template category 'end' that places content right before final </body> tag 2. Move most Javascript from tpl files into one cacheable file, theme.js 3. Load scripts at end of the HTML document instead of in the header 4. Minify several Javascript files Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
2012-07-28 15:57:16 +00:00
Reference in a new issue
Copy permalink