This file is indexed.

/usr/share/perl5/Mojolicious/Guides/FAQ.pod is in libmojolicious-perl 2.23-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
=head1 NAME

Mojolicious::Guides::FAQ - Frequently Asked Questions

=head1 OVERVIEW

This document contains the most frequently asked questions about
L<Mojolicious> together with the right answers.

=head1 QUESTIONS

=head2 How does Mojolicious compare to other Perl web frameworks?

The short answer is "it doesn't", because we interpret the words
"web framework" much more literally than others.
With the emergence of the C<Real-time Web> and new technologies such as
C<WebSockets>, we are facing new challenges that go way beyond what commonly
used modules like L<LWP> were designed for.
Because of this L<Mojolicious> contains a whole new C<HTTP> client/server
stack called L<Mojo>, which was heavily inspired by the original C<LWPng>
effort and carefully designed with these new requirements in mind.
So while some of the higher abstraction layers might look similar to other
web frameworks, it actually defines a whole new category and could even be
the foundation for more advanced ones in the future.

=head2 Why doesn't Mojolicious have any dependencies?

We are optimizing L<Mojolicious> for user-friendliness and development speed
without compromises.
While there are no rules in L<Mojolicious::Guides::CodingGuidelines> that
forbid dependencies, we do currently discourage adding non-optional ones in
favor of a faster and more painless installation process.
And we do in fact already use several optional CPAN modules such as L<EV>,
L<IO::Socket::IP>, L<IO::Socket::SSL>, L<Net::Rendezvous::Publish> and
L<Plack> to provide advanced functionality if they are installed.

=head2 Why reinvent wheels?

Because we can make them rounder.
Components specifically designed for user-friendliness and development speed
are not easy to come by.
While we are strong believers of the Perl mantra
"There is more than one way to do it.", we also believe that well designed
defaults result in a much more pleasant user experience.
We want the best of both worlds.

=head2 What about backwards compatibility?

In conformance with L<Mojolicious::Guides::CodingGuidelines>, we will always
deprecate a feature for at least one major release before removing or
changing it in incompatible ways.
New features can however be marked as experimental to explicitly exclude them
from these rules.
This gives us the necessary freedom to ensure a healthy future for
L<Mojolicious>.
So, as long as you are not using anything marked experimental, untested or
undocumented, you can always count on backwards compatibility, everything
else would be considered a bug.

=head2 What does the error "Maximum message size exceeded." mean?

To protect your applications from excessively large requests and responses,
our HTTP parser has a cap after which it will automatically stop accepting
new data, and in most cases force the connection to be dropped.
This limit is around C<5MB> by default, you can use the
C<MOJO_MAX_MESSAGE_SIZE> environment variable to change this value.

=head2 What does the error "Maximum line size exceeded." mean?

This is a very similar protection mechanism to the one described in the
previous answer, but a little more specific.
It limits the maximum length of any C<\r\n> terminated part of a HTTP
message, such as request line, status line and headers.
This limit is around C<10KB> by default, you can use the
C<MOJO_MAX_LINE_SIZE> environment variable to change this value.

=head2 What does "Your secret passphrase needs to be changed!!!" mean?

L<Mojolicious> uses a secret passphrase for security features such as signed
cookies.
It defaults to the name of your application, which is not very secure, so we
added this log message as a reminder.
You can change the passphrase with the C<secret> attribute of L<Mojolicious>.

  app->secret('My very secret passphrase.');

=head2 I think i have found a bug, what should i do now?

First make sure you are using the latest version of L<Mojolicious>, it is
quite likely that the bug has already been fixed.
If that doesn't help prepare a test case demonstrating the bug, you are not
expected to fix it yourself, but you'll have to make sure the developers can
replicate your problem.
Sending in your whole application generally does more harm than good, the
C<t> directory of this distribution has many good examples for how to do it
right.
Writing a test is usually the hardest part of fixing a bug, so the better
your test case the faster it can be fixed. ;)

Once that's done you can contact the developers via mailing list
(L<http://groups.google.com/group/mojolicious>) or IRC
(C<#mojo> on C<irc.perl.org>).

If you decide to fix the bug yourself make sure to also take a look at
L<Mojolicious::Guides::CodingGuidelines>.

=head2 Which namespace should i use for Mojolicious plugins?

For all new plugins that you might want to release to CPAN we suggest using
the "Mojolicious::Plugin" namespace.
While "MojoX" has been used a lot in the past, it is now deprecated.

=head1 MORE

You can continue with L<Mojolicious::Guides> now or take a look at the
Mojolicious wiki L<http://github.com/kraih/mojo/wiki>, which contains a lot
more documentation and examples by many different authors.

=cut