Project

General

Profile

Bug #39

labs.parabola.nu is slow

mtjm - about 12 years ago - . Updated almost 12 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

100%


Description

Some ways to improve it:

  • serve static files directly from nginx, add the "expires max" directive or equivalent one for the server used – they have versions in URLs, so shouldn't be requested again
  • merge and minify CSS and JavaScript
  • enable gzipping them, nginx configuration lines like these in the http block could help:
        gzip  on;
        gzip_types text/plain text/css application/x-javascript application/javascript;
        gzip_vary on;
    

History

#2

Updated by fauno about 12 years ago

Serving static files from public/ and gzipping are on now.

We should also enable caching, nginx only caches requests without cookies so logged users will be ok (useful for hungry bots).

#3

Updated by mtjm about 12 years ago

Feels faster after reading your comment.

"expires max" should be used only for requests with timestamps in the query string, somehow not all have them.

More possible improvements:

  • use a tile of all icons in one image * have a separate cookie-less domain (e.g. s.parabola.nu) for static files, needs not using cookies from parabola.nu (only subdomains); might introduce another DNS query latency
#4

Updated by fauno almost 12 years ago

Marking as fixed just because we have too many bugs opened (!)

Also available in: Atom PDF