Dotclear

Changeset 2948:6f99b0da6e95


Ignore:
Timestamp:
01/31/15 12:06:40 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

One week cache for plugin's files served by ?pf=… is better than old 2 hours (recommendation from  http://yellowlab.tools/ tools)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/load_plugin_file.php

    r2804 r2948  
    8888} 
    8989 
    90 http::$cache_max_age = 7200; 
     90http::$cache_max_age = 7 * 24 * 60 * 60;     // One week cache for plugin's files served by ?pf=… is better than old 2 hours 
    9191http::cache(array_merge(array($PF),get_included_files())); 
    9292 
Note: See TracChangeset for help on using the changeset viewer.

Sites map