In last two days I’m trying to find best way to convert PDF files to good quality JPEG files. Of course size does matter, not only in case of women breasts.
When I was trying to convert files directly from PDF to JPEG results was pretty scary:
convert myfile.pdf[1] dc.jpg
number 1 in brackets means only one(second) page to process.
As I result I get file with pretty huge size: 496.
Google
Page Speed Online
is really good service for measuring and optimising your website. After deep analysis we get a lot if clues how to improve speed of your website. But how to
Leverage browser caching
if we have
Lighttpd
instead default Apache? We need to use
mod_expire
.
Lighttpd is awesome and very fast webserver. But has one big disadvantage – is not reading apache .htaccess files with rewrite settings. Unfortunatley you need to create them manually in config file. How? Examples are below: