I created a simple application with bottle: https://github.com/CecilWesterhof/PublishedPhotos
But sometimes it needs a lot of time. For example: 127.0.0.1 - - [21/Aug/2015 23:16:40] "GET / HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:40] "GET /static/css/default.css HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /static/JavaScript/angular.js HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /static/appPublishedPhotos.js HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:46] "GET /links/data HTTP/1.1" 200 2884 127.0.0.1 - - [21/Aug/2015 23:16:52] "GET /versionPython HTTP/1.1" 200 5 127.0.0.1 - - [21/Aug/2015 23:16:52] "GET /versionSQLite HTTP/1.1" 200 5 Between default.css and angular.js there are six seconds. And between /links/data and /versionPytjon is again six seconds. What is happening here? Just before everything was done in a second: 127.0.0.1 - - [21/Aug/2015 23:16:22] "GET / HTTP/1.1" 200 956 127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/css/default.css HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/appPublishedPhotos.js HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:22] "GET /static/JavaScript/angular.js HTTP/1.1" 304 0 127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /versionPython HTTP/1.1" 200 5 127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /links/data HTTP/1.1" 200 2884 127.0.0.1 - - [21/Aug/2015 23:16:23] "GET /versionSQLite HTTP/1.1" 200 5 -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://mail.python.org/mailman/listinfo/python-list