This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#191 closed defect (fixed)

Invalidate JS cache (vars.js.tpl.tmp) when important changes are done

Reported by: pferreir Owned by: lsyroka
Priority: very low Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

i.e. when a location is added, vars.js.tpl.tmp should be regenerated. It is an easy fix to do, and will solve some inconsistency problems.

Change History (5)

comment:1 Changed 6 years ago by jbenito

  • Priority changed from low to very low
  • Summary changed from Invalidade JS cache (vars.js.tpl.tmp) when important changes are done to Invalidate JS cache (vars.js.tpl.tmp) when important changes are done

comment:2 Changed 5 years ago by lsyroka

  • Owner set to lsyroka
  • Status changed from new to accepted

comment:3 Changed 5 years ago by leszek.marek.syroka@…

  • Resolution set to fixed
  • Status changed from accepted to closed

commit 56899a3e0abfd73b3bdbf6b1b77548d548dfba2f
Author: Leszek Syroka <leszek.marek.syroka@…>
Date: Fri May 21 15:37:26 2010 +0200

[FIX] Vars.js.tpl.tmp caching


  • Vars.js.tpl.tmp is now reloaded when:
    • it doesn't exist
    • vars.js.tpl was modified after var.js.tpl.tmp
    • indico.conf was modified after var.js.tpl.tmp
    • location was added or deleted
    • roombooking module was switched
    • default location was changed
  • fix#191
  • review by jbenito: remove the file instead of regenerate

comment:4 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [56899a3e0abfd73b3bdbf6b1b77548d548dfba2f]:

[FIX] Vars.js.tpl.tmp caching

  • Vars.js.tpl.tmp is now reloaded when:
    • it doesn't exist
    • vars.js.tpl was modified after var.js.tpl.tmp
    • indico.conf was modified after var.js.tpl.tmp
    • location was added or deleted
    • roombooking module was switched
    • default location was changed
  • fix#191
  • review by jbenito: remove the file instead of regenerate

comment:5 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [56899a3e0abfd73b3bdbf6b1b77548d548dfba2f]:

[FIX] Vars.js.tpl.tmp caching

  • Vars.js.tpl.tmp is now reloaded when:
    • it doesn't exist
    • vars.js.tpl was modified after var.js.tpl.tmp
    • indico.conf was modified after var.js.tpl.tmp
    • location was added or deleted
    • roombooking module was switched
    • default location was changed
  • fix#191
  • review by jbenito: remove the file instead of regenerate
Note: See TracTickets for help on using tickets.