Page MenuHomeIn-Portal Phabricator

INP-1703 - Set default expiration for font assets

Authored by alex on May 11 2017, 6:11 AM.


Test Plan
  • on VM:
    1. open Apache configuration file (e.g. /etc/httpd/conf/httpd.conf) for editing
    2. if not there already add these settings to it and save changes:
AddType application/ .eot
AddType application/x-font-opentype .otf
AddType image/svg+xml .svg
AddType application/x-font-ttf .ttf
AddType application/font-woff .woff
    1. restart Apache by typing service httpd restart
  • online:
    1. find sample font files with .eot, .otf, .svg, .ttf and .woff file extensions
    2. download them in /themes/advanced folder
  • on VM:
    1. for each font file type curl -I command (replace url with yours)
    2. confirm, that Expires: ... text is present in command output

Diff Detail

rINP In-Portal
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 743.May 11 2017, 6:11 AM
alex retitled this revision from to INP-1703 - Set default expiration for font assets.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1703.
erik accepted this revision.May 16 2017, 5:43 AM
erik edited edge metadata.
This revision is now accepted and ready to land.May 16 2017, 5:43 AM
This revision was automatically updated to reflect the committed changes.