Set Configuration To Speed up MythWeb Page Loading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Confirmed
|
Wishlist
|
Thomas Mashos |
Bug Description
I have posted a fairly simple tweak to apache config file to speed up page load time when using mythweb. It reduced the times from about 45 seconds to around 12 seconds. It was recommended by others on the ubuntu forum to report this as a possible improvement for default behavior and configuration of mythweb on ubuntu.
Original post which shows how to manually configure apache mythweb file to load pages faster.
http://
Actually there are two steps
First
Change /etc/apache2/
Original contents
---
<Directory "/var/www/mythweb">
Options FollowSymLinks
AllowOverride All
</Directory>
---
Modified contents
---
<Directory "/var/www/mythweb">
Options FollowSymLinks
AllowOverride All
ExpiresActive On
ExpiresByType application/
</Directory>
For this to work correctly there is a second step.
Second -- apache must load some additional modules.
The following are the modules that made it work.
cd /etc/apache2/
sudo a2enmod expires
sudo a2enmod deflate
sudo a2enmod headers
and restart apache
sudo /etc/init.d/apache2 reload
---
Changed in mythbuntu: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in mythbuntu: | |
assignee: | nobody → rhpot1991 (rhpot1991) |
milestone: | none → 11.04-alpha1 |
tags: | added: downstream |
Thanks for the tip. This sounds like something we might be able to
incorporate into MCC along with our other tweaks.
-Nick
On Wed, Jul 23, 2008 at 1:02 PM, Tom G <email address hidden> wrote:
> Public bug reported: ubuntuforums. org/showthread. php?t=866980 sites-enabled/ mythwebdir x-_javascript_ "modification plus 1 year" mods-available /bugs.launchpad .net/bugs/ 251228
>
> I have posted a fairly simple tweak to apache config file to speed up
> page load time when using mythweb. It reduced the times from about 45
> seconds to around 12 seconds. It was recommended by others on the ubuntu
> forum to report this as a possible improvement for default behavior and
> configuration of mythweb on ubuntu.
>
> Original post which shows how to manually configure apache mythweb file
> to load pages faster.
>
> http://
>
> Actually there are two steps
>
> First
>
> Change /etc/apache2/
>
> Original contents
>
> ---
>
> <Directory "/var/www/mythweb">
> Options FollowSymLinks
> AllowOverride All
> </Directory>
>
> ---
>
> Modified contents
>
> ---
>
> <Directory "/var/www/mythweb">
> Options FollowSymLinks
> AllowOverride All
> ExpiresActive On
> ExpiresByType application/
> </Directory>
>
>
> For this to work correctly there is a second step.
>
> Second -- apache must load some additional modules.
>
> The following are the modules that made it work.
>
> cd /etc/apache2/
> sudo a2enmod expires
> sudo a2enmod deflate
> sudo a2enmod headers
>
> and restart apache
>
> sudo /etc/init.d/apache2 reload
>
>
> ---
>
> ** Affects: mythbuntu
> Importance: Undecided
> Status: New
>
> --
> Set Configuration To Speed up MythWeb Page Loading
> https:/
> You received this bug notification because you are a member of
> Mythbuntu, which is subscribed to Mythbuntu.
>