Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,075 of 9,075 pages
About the help in other languages
All help pages

ezjscore.ini [Packer]

The settings of [Packer] in ezjscore.ini (ezjscore): AppendLastModifiedTime, CustomHosts

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/ezjscore-ezjscore/Packer.md

On this page

ezjscore.ini [Packer]

The block [Packer] of extension/ezjscore/settings/ezjscore.ini (extension ezjscore), with 2 setting(s).

Never edit extension/ezjscore/settings/ezjscore.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/ezjscore.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/ezjscore.ini.append.php for one siteaccess,
  • extension/<extension>/settings/ezjscore.ini.append.php in an extension (read when the extension is active).

AppendLastModifiedTime

Appends the last modified time to the cached file name so Proxy/Browser cache
is forced to re fetch file on change. Note: cronjob to cleanup expired
files does not exist, but should be fairly trivial to create.
Enabled by default: packed scripts and styles are served with a long browser cache lifetime, so without the
time in the name an update to a stylesheet or script would not reach browsers until their copy expired.

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/ezjscore.ini.append.php
[Packer]
AppendLastModifiedTime=enabled
*/ ?>

CustomHosts

For spreading the load of static files to separate domains as recommended by
YDN Performance Best Practices. Key should match file extension: .js | .css

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/ezjscore.ini.append.php
[Packer]
# an empty "CustomHosts[]" first replaces the shipped list; without it the items are added
CustomHosts[]
*/ ?>

Generated by ./console exp:help:examples from extension/ezjscore/settings/ezjscore.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x