renard / o-blog

Standalone orgmode blog exporter. DEPECATED, NOT MAINTAINED
http://renard.github.com/o-blog-v2
260 stars 58 forks source link

Default template is slow because of less #73

Closed blitz closed 10 years ago

blitz commented 11 years ago

A basic o-blog instance using the default template is painfully slow, because the less interpreter serially loads one .less file after the other. http://tools.pingdom.com/ gives me a total load time of close to 10s. Pain.

A workaround is to compile the less code to css using for example: lessc -O3 -x style/less/o-blog.less > style/less/o-blog-compiled.css and use this instead of less. This gives me 2s page load time. Way better.

A problem is that for some reason, if I do this, I lose those little images in the header next to Features, Documentation, etc: (For reference, see the demo site: http://renard.github.com/o-blog/ ) Only little squares remain. Any pointers?

renard commented 11 years ago

This should be fixed in o-blog-v2

blitz commented 11 years ago

Is o-blog-v2 already usable? Is there some info for transitioning to v2?

renard commented 11 years ago

Currently there is no documentation about V2. I am focussing on having an iso feature between v1 and v2.

Anyway you can use compiled version of less files using lessc.

renard commented 10 years ago

This has been fixed in v2