[wp-trac] [WordPress Trac] #2799: Cache 'dynamic' Javascript

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 7 23:24:15 GMT 2006


#2799: Cache 'dynamic' Javascript
----------------------------+-----------------------------------------------
       Id:  2799            |      Status:  new                     
Component:  Administration  |    Modified:  Wed Jun  7 23:24:15 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  mdawaffe        |    Reporter:  mdawaffe                
----------------------------+-----------------------------------------------
 The PHP generated Javascript files are not being cached properly.

 Attached:

  1. Call wp-config.php instead of admin.php to avoid cache blocking and
 unnecessary overhead.
  1. Send Cache-control: max-age=2600000, must-revalidate

 These scripts only need the PHP for i18n (if that), so the ~1 month long
 freshness period shouldn't hurt.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2799>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list