Public bug reported:

With Bug 1515826 we're now including all the theme assets for a page, in
its HTML export file.

Unfortunately, this bumps the unzipped web archive contents up over 8MB.
Which isn't a whole lot in the scheme of things I suppose, but before we
did this, it was about 500kB. The main culprit is the raw/static/fonts
directory included in the export, which is 8MB on its own. The opensans
folder alone is about 6MB.

The typical use-case for these fonts is for people to include them with
a rel link to a remote server, like this: <link
href='https://fonts.googleapis.com/css?family=Open+Sans'
rel='stylesheet' type='text/css'>

We should see if we could make that happen with our export code, in
order to reduce the size of the export.

** Affects: mahara
     Importance: Low
         Status: Confirmed


** Tags: export export-html

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1518832

Title:
  Reduce size of HTML export zip

Status in Mahara:
  Confirmed

Bug description:
  With Bug 1515826 we're now including all the theme assets for a page,
  in its HTML export file.

  Unfortunately, this bumps the unzipped web archive contents up over
  8MB. Which isn't a whole lot in the scheme of things I suppose, but
  before we did this, it was about 500kB. The main culprit is the
  raw/static/fonts directory included in the export, which is 8MB on its
  own. The opensans folder alone is about 6MB.

  The typical use-case for these fonts is for people to include them
  with a rel link to a remote server, like this: <link
  href='https://fonts.googleapis.com/css?family=Open+Sans'
  rel='stylesheet' type='text/css'>

  We should see if we could make that happen with our export code, in
  order to reduce the size of the export.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1518832/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to