Pre-generating drupal forms
Submitted by litwol on Mon, 07/20/2009 - 23:23
Theoretically we can pre-genrate drupal form output and cache it which then will be served instead of regenrating form html on every form view.
Few issues:
1) CSRF tokens make form caching useless.
2) Form action in HTML makes cross-page caching useless because on each page form action is set to be that page's URL.
Possible solutions:
1) Cache based on session_id, which is what the form token is based on
2) We can perform string replacement on the cached form output to correct form action.
- Read more
- 1925 reads
The cult of done
Submitted by litwol on Mon, 03/09/2009 - 17:46
I really enjoyed this post: http://www.brepettis.com/blog/2009/3/3/the-cult-of-done-manifesto.html
Cannot use it as the holy grail for my workflow, but i certainly should extract what matters to me from it and live by it. putting that on my todo list.
- 1837 reads