Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Perl Modules - Mod_Perl and CGI

by Trihedralguy (Pilgrim)
on Apr 30, 2013 at 03:56 UTC ( #1031307=note: print w/ replies, xml ) Need Help??


in reply to Reaped: Re^2: Perl Modules - Mod_Perl and CGI
in thread Perl Modules - Mod_Perl and CGI

What he is saying seems true and is the case when I'm most frustrated. Restarting Apache fixes the problem. What I'm hoping to discover is a solution to turn of the caching on the development machine, so that I can quickly make changes without having to restart or "refresh constantly" to un-cache an error.


Comment on Re^3: Perl Modules - Mod_Perl and CGI
Re^4: Perl Modules - Mod_Perl and CGI
by Anonymous Monk on Apr 30, 2013 at 08:05 UTC

    What I'm hoping to discover is a solution to turn of the caching on the development machine, so that I can quickly make changes without having to restart or "refresh constantly" to un-cache an error.

    Um, if you don't want a persistent process, with all the benefits it brings, run it as CGI :/

    OTOH, how tightly is your module/app coupled with Apache? you can always develop with plackup/Plack::Middleware::Refresh / Plack::Loader::Shotgun for faster reloading :)

    What he is saying seems true and is the case when I'm most frustrated.

    Sorry , but it isn't. He said if you change the Perl code, you must restart Apache. which is obviously false (hello Apache2::Reload) because like Apache2::Reload like reloads stuff

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031307]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (16)
As of 2014-10-21 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (105 votes), past polls