About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:performance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
administration:performance [2017/04/13 08:20] – [Further Reading] emaijalaadministration:performance [2017/08/01 18:43] demiankatz
Line 138: Line 138:
 from module directory.  from module directory. 
  
 +===== Asset Pipeline =====
  
 +Starting with VuFind 3.1, there is an optional "asset pipeline" which can be used to combine Javascript and/or CSS files together to reduce the number of HTTP requests necessary to load VuFind pages. This is turned off by default but can be activated using the asset_pipeline setting in [[configuration:files:config.ini|config.ini]].
 +
 +===== Theme Compiler =====
 +
 +Starting with VuFind 4.1, there is a [[administration:command_line_utilities|command-line tool]] known as the "theme compiler" which can be run to flatten a hierarchy of themes into a single flat theme, reducing the amount of file searching VuFind needs to do in order to find assets and templates.
 +
 +To use a compiled theme, follow these steps:
 +
 +1. Run "php $VUFIND_HOME/public/index.php compile theme [your theme] [your compiled theme]" at the command line.
 +
 +2. Update your [[configuration:files:config.ini|config.ini]] file to use [your compiled theme] instead of [your theme] in the theme setting.
 +
 +Note: NEVER EDIT THE COMPILED THEME. Instead, edit the source theme and recompile it when you need to make changes. You must use the --force switch of the compiler if you need to overwrite your compiled theme with a new version.
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
Line 248: Line 262:
  
 Search engine crawlers can sometimes put a heavy load on your server, causing performance issues for actual users. The behavior of search engine robots can be controlled with the help of a [[administration:robots.txt]] file. See the [[administration:robots.txt]] page for more details. Search engine crawlers can sometimes put a heavy load on your server, causing performance issues for actual users. The behavior of search engine robots can be controlled with the help of a [[administration:robots.txt]] file. See the [[administration:robots.txt]] page for more details.
- 
-====== Asset Pipeline ====== 
- 
-Starting with VuFind 3.1, there is an optional "asset pipeline" which can be used to combine Javascript and/or CSS files together to reduce the number of HTTP requests necessary to load VuFind pages. This is turned off by default but can be activated using the asset_pipeline setting in [[configuration:files:config.ini|config.ini]]. 
  
 ====== Testing Performance ====== ====== Testing Performance ======
administration/performance.txt · Last modified: 2022/05/06 12:52 by demiankatz