Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi All Monks,
First of, let me say I haven't used perl for web dev in a long time and was still stuck on cgi. When asked to do small dev with the technology of my choice, I jumped on the occasion and ended up using Dancer. What a refreshing way to write web apps, easy to install, develop with, deploy... Now that my small app is finished, I deploy it in production with plackup and starman behing nginx. sudo -u nginx /usr/local/bin/plackup -E production -s Starman --workers=2 -l /tmp/plack.sock -a bin/app.plI have some standard crud stuff and in particular a get and edit. This worked great in dev mode, running perl bin/app.pl but after deploying in prod through plackup, the redirect after edit shows the get page but the data on the page is not updated. Refreshing the page (F5) does show the updated data. Dancer is great but unfortunately lacks a bit of detailed doc and community. Hence I come here to ask for your wisdom. In reply to Dancer & Plackup - Redirect not refreshing page data by jeromek
|
|