Comments (9)
I applied two enhancements:
(a) I minified css and js files (I used http://www.minifier.org/ for this purpose)
(b) I specified static files in the pythonanywhere
configuration (web app setup
tab)
(c) I started to serve scaling images
from unicorn.
from unicorn.
I increased the speed of website load. Now it's about 0.6s
. Maybe it's good idea to put favicon.ico
to my site.
from unicorn.
Also I can use gzip compression to accelerate the website. Good reading are below.
https://www.pythonanywhere.com/forums/topic/376/
https://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
I think that PAW (pythonanywhere
) already uses gzip compression.
Yes. I checked the previous idea. Proof is below.
from unicorn.
Ideas for further enhancements.
from unicorn.
greeting.html
index.html
(already done)
{ -> {{
} -> }}
from unicorn.
I did all previous suggestions to improve site speed. (Inline small css, inline small javascript, specify image dimensions, minify html).
Now I have the following result.
( :
from unicorn.
And the current time of load my web site.
from unicorn.
DONE.
from unicorn.
Related Issues (17)
- How to center group of elements HOT 4
- Add event listener for language select tag HOT 1
- Refactor css files HOT 3
- Read about template engines HOT 2
- Refactor html files HOT 1
- Refactor python code HOT 1
- Refactor js files HOT 1
- Problems with UI in Firefox HOT 3
- An email isn't sending from the Firefox HOT 2
- Find free python hosting and create domain name HOT 3
- Don't forget to fix mainUrl variable in js scripts! HOT 2
- Googling more about crossbrowser font sizing. (Looks really ugly!) HOT 4
- Full-Stack Web Development
- Reduce the pictures on the catification pages! HOT 1
- Ajax request is slow in Firefox browser on Ubuntu HOT 2
- Cross browser and cross platform testing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unicorn.