Ticket #5704 (closed Bugs: duplicate)

Opened 1 year ago

Last modified 1 year ago

Mainstyle CSS Compression not working

Reported by: TSM Assigned to: p_lindheimer
Priority: minor Milestone: 2.11
Component: Core Version: 2.10-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: Asterisk 1.8 Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

For some reason having this enabled causes a problem as it does not recreate the cache file if it does not already exist. My understanding of the code (which may be wrong) is that the cache file is only created once when the core is installed and never checked again even on 'amportal restart'.

Have you thought of using http://code.google.com/p/minify to wrap up all the JS/CSS stuff and hand it off to another script to deal with it.

Change History

03/22/12 11:33:13 changed by mbrevda

  • status changed from new to closed.
  • resolution set to duplicate.

dup of #5697. In FreePBX 2.10 a reload (amportal a r, from the cli) will regenerate this if nesesary

03/22/12 11:40:14 changed by p_lindheimer

to be more specific, this was moved to retrieve_conf which means any time you press the "Apply Conf" bar it should check if this file needs to be regenerated and do such. This was done since the only time it would be needed is from some new CSS being introduced from a module download at which point you should always apply configuration changes. If you find that is not happening, then a bug report would be appropriate. In 2.9 this was checked every page load but that was a bit excessive.