In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001167 [In-Portal CMS] Optimization task always 2011-11-13 17:07 2012-07-25 05:30
Reporter Dmitry View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001167: Improvements in Compressed CSS/JS File Naming
Description Starting with In-Portal 5.1.0 new feature was introduced. This feature allows to merge all js/css files on the page into one file and then compress it. This allows to significantly enhance website loading time.

While feature works well in general there is a problem though: old versions of compressed files are never deleted.

Currently filename is generated by following scheme:

This way new file is created every time developer forces a recompression procedure by pressing "refresh" button in themes list in admin console.

I'm proposing to move timestamp part away from filename part into that file's url parameters. We actually could just use file modification time from file system instead of keeping it in 2 places, like now.

For example url "" becomes "".

This way we always use the same file and just change it's url, so web browser would read it from server and not from it's cache.
Additional Information NOTES:

1. please add ability to pass param "save_as='somename'" so it can be more readble name if needed.

2. ts=544433445 should be replaced with real date/time so it's easy to see if file is new or outdated.


where 20111202 is date stamp and is 122112 time stamp (15hours-21min-12sec).

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker