In-Portal Issue Tracker - In-Portal CMS
|
|||||||||||||||||||||||||||||||||||
Viewing Issue Advanced Details | |||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: | ||||||||||||||||||||||||||||||
457 | [In-Portal CMS] Front End | feature request | always | 2009-12-16 14:45 | 2010-07-22 15:06 | ||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
Reporter: | Dmitry | Platform: | |||||||||||||||||||||||||||||||||
Assigned To: | !COMMUNITY | OS: | |||||||||||||||||||||||||||||||||
Priority: | normal | OS Version: | |||||||||||||||||||||||||||||||||
Status: | closed | Product Version: | 5.0.1 | ||||||||||||||||||||||||||||||||
Product Build: | Resolution: | fixed | |||||||||||||||||||||||||||||||||
ETA: | none | Fixed in Version: | 5.1.0-B1 | ||||||||||||||||||||||||||||||||
Reference: | Google Groups http://groups.google.com/group/in-portal-dev/browse_thread/thread/d81f3bf4d0f0bd38 | ||||||||||||||||||||||||||||||||||
Change Log Message: | Ability to automatically compress JS and CSS files on request | ||||||||||||||||||||||||||||||||||
Estimate Points: | 0 | ||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
Summary: | 0000457: Automatic CSS / JS Compression | ||||||||||||||||||||||||||||||||||
Description: |
The elegant and simple implementation (doesn't exist yet) of solving problems with large javascript, css files being sent on every page load. Instead of <script type="text/javascript" src="<inp2:m_TemplatesBase/>js/script.js"></script> we should use <script type="text/javascript" src="<inp2:m_Script file="js/script.js"/>"></script> Tag Script would: 1. get compressed version of given file based on current theme (compressed versions could be stored under "/system/cache") 2. if given file was changed after compressed file was created, then create compressed file with file modification time in it's name and return url to compressed file 3. if given file wasn't changed after compressed file was created, then return url to compressed file There would not be any additional calls to index.php to load every compressed javascript, because of tag implementation is being used. What ever compression is made or not could be determined by new configuration variable. Compression could be turned off automatically, when debug mode is turned on for example. What compressor to use would be determined based on given file extension. What compressor engine to use will be determined in later development stages of this feature (command-line, php, java etc.). NOTE: We should be able to process multiple JS files (and probably CSS) in a single minimized version. Let's say I want something like this <script type="text/javascript" src="<inp2:m_Script file="js/script.js|js/another_jq.js"/>"></script> I did see it a few times like this - can't remember the software / website, but will find this and put examples here. |
||||||||||||||||||||||||||||||||||
Steps To Reproduce: |
Need to find good Compress methods for both CSS and JS files. Here are some samples: - http://code.google.com/p/jsmin-php/ - http://davidwalsh.name/css-compression-php |
||||||||||||||||||||||||||||||||||
Additional Information: | |||||||||||||||||||||||||||||||||||
Relationships |
| ||||||||||||||||||||||||||||||||||
Attached Files: |
js_css_compress_core.patch (44,612) 2010-05-04 14:05 http://tracker.in-portal.org/file_download.php?file_id=516&type=bug js_css_compress_modules.patch (1,554) 2010-05-04 14:05 http://tracker.in-portal.org/file_download.php?file_id=517&type=bug js_css_compress_themes.patch (41,426) 2010-05-04 14:06 http://tracker.in-portal.org/file_download.php?file_id=518&type=bug disabled_compression_during_debugging.patch (449) 2010-05-12 04:38 http://tracker.in-portal.org/file_download.php?file_id=534&type=bug infinite_compression_fix.patch (744) 2010-05-15 07:36 http://tracker.in-portal.org/file_download.php?file_id=547&type=bug still_using_old_compressed_code_after_upgrade.patch (410) 2010-05-18 08:02 http://tracker.in-portal.org/file_download.php?file_id=557&type=bug |
||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
Issue History | |||||||||||||||||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||||||||||||||||
2011-12-08 03:46 | alex | Relationship added | related to 0001177 | ||||||||||||||||||||||||||||||||
2011-12-02 04:56 | alex | Relationship replaced | has duplicate 0000040 | ||||||||||||||||||||||||||||||||
2011-11-13 17:08 | Dmitry | Relationship added | parent of 0001167 | ||||||||||||||||||||||||||||||||
2010-08-31 14:23 | alex | Relationship added | related to 0000040 | ||||||||||||||||||||||||||||||||
2010-07-22 15:06 | alex | Note Added: 0002519 | |||||||||||||||||||||||||||||||||
2010-07-22 15:06 | alex | Status | resolved => closed | ||||||||||||||||||||||||||||||||
2010-06-08 03:30 | alex | Relationship added | parent of 0000761 | ||||||||||||||||||||||||||||||||
2010-05-31 14:52 | Dmitry | Note Added: 0002349 | |||||||||||||||||||||||||||||||||
2010-05-31 14:52 | Dmitry | Status | reviewed and tested => resolved | ||||||||||||||||||||||||||||||||
2010-05-31 14:52 | Dmitry | Resolution | reopened => fixed | ||||||||||||||||||||||||||||||||
2010-05-31 14:52 | Dmitry | Note Added: 0002348 | |||||||||||||||||||||||||||||||||
2010-05-31 14:52 | Dmitry | Status | needs testing => reviewed and tested | ||||||||||||||||||||||||||||||||
2010-05-31 04:56 | alex | Note Added: 0002346 | |||||||||||||||||||||||||||||||||
2010-05-31 04:56 | alex | Assigned To | alex => !COMMUNITY | ||||||||||||||||||||||||||||||||
2010-05-31 04:56 | alex | Status | needs feedback => needs testing | ||||||||||||||||||||||||||||||||
2010-05-30 19:37 | Dmitry | Note Added: 0002340 | |||||||||||||||||||||||||||||||||
2010-05-30 19:37 | Dmitry | Status | resolved => needs feedback | ||||||||||||||||||||||||||||||||
2010-05-30 19:37 | Dmitry | Resolution | fixed => reopened | ||||||||||||||||||||||||||||||||
2010-05-29 16:38 | alex | Relationship added | related to 0000752 | ||||||||||||||||||||||||||||||||
2010-05-19 02:45 | alex | Changeset attached | 5.1.x r13585 | ||||||||||||||||||||||||||||||||
2010-05-19 02:45 | alex | Note Added: 0002250 | |||||||||||||||||||||||||||||||||
2010-05-19 02:45 | alex | Status | reviewed and tested => resolved | ||||||||||||||||||||||||||||||||
2010-05-19 02:45 | alex | Resolution | reopened => fixed | ||||||||||||||||||||||||||||||||
2010-05-18 20:24 | Dmitry | Note Added: 0002238 | |||||||||||||||||||||||||||||||||
2010-05-18 20:24 | Dmitry | Assigned To | !COMMUNITY => alex | ||||||||||||||||||||||||||||||||
2010-05-18 20:24 | Dmitry | Status | needs testing => reviewed and tested | ||||||||||||||||||||||||||||||||
2010-05-18 08:03 | alex | Relationship added | related to 0000704 | ||||||||||||||||||||||||||||||||
2010-05-18 08:03 | alex | Note Added: 0002228 | |||||||||||||||||||||||||||||||||
2010-05-18 08:03 | alex | Status | needs feedback => needs testing | ||||||||||||||||||||||||||||||||
2010-05-18 08:02 | alex | File Added: still_using_old_compressed_code_after_upgrade.patch | |||||||||||||||||||||||||||||||||
2010-05-18 08:02 | alex | Assigned To | alex => !COMMUNITY | ||||||||||||||||||||||||||||||||
2010-05-18 08:02 | alex | Note Added: 0002227 | |||||||||||||||||||||||||||||||||
2010-05-18 08:02 | alex | Status | resolved => needs feedback | ||||||||||||||||||||||||||||||||
2010-05-18 08:02 | alex | Resolution | fixed => reopened | ||||||||||||||||||||||||||||||||
2010-05-16 22:05 | Dmitry | Note Added: 0002217 | |||||||||||||||||||||||||||||||||
2010-05-15 07:39 | alex | Note Added: 0002210 | |||||||||||||||||||||||||||||||||
2010-05-15 07:39 | alex | Changeset attached | 5.1.x r13564 | ||||||||||||||||||||||||||||||||
2010-05-15 07:36 | alex | File Added: infinite_compression_fix.patch | |||||||||||||||||||||||||||||||||
2010-05-12 04:40 | alex | Changeset attached | 5.1.x r13560 | ||||||||||||||||||||||||||||||||
2010-05-12 04:39 | alex | Note Added: 0002196 | |||||||||||||||||||||||||||||||||
2010-05-12 04:38 | alex | File Added: disabled_compression_during_debugging.patch | |||||||||||||||||||||||||||||||||
2010-05-05 02:06 | alex | Note Added: 0002057 | |||||||||||||||||||||||||||||||||
2010-05-05 02:06 | alex | Status | reviewed and tested => resolved | ||||||||||||||||||||||||||||||||
2010-05-05 02:06 | alex | Fixed in Version | => 5.1.0-B1 | ||||||||||||||||||||||||||||||||
2010-05-05 02:06 | alex | Resolution | open => fixed | ||||||||||||||||||||||||||||||||
2010-05-05 02:06 | alex | Changeset attached | 5.1.x r13487 | ||||||||||||||||||||||||||||||||
2010-05-05 01:48 | alex | Changeset attached | 5.1.x r13486 | ||||||||||||||||||||||||||||||||
2010-05-05 01:43 | alex | Changeset attached | 5.1.x r13485 | ||||||||||||||||||||||||||||||||
2010-05-05 01:40 | alex | Changeset attached | 1.1.x r13484 | ||||||||||||||||||||||||||||||||
2010-05-05 01:38 | alex | Changeset attached | 1.1.x r13483 | ||||||||||||||||||||||||||||||||
2010-05-05 01:37 | alex | Changeset attached | 5.1.x r13482 | ||||||||||||||||||||||||||||||||
2010-05-05 01:37 | alex | Note Added: 0002056 | |||||||||||||||||||||||||||||||||
2010-05-05 01:34 | alex | Changeset attached | 1.1.x r13481 | ||||||||||||||||||||||||||||||||
2010-05-04 20:32 | Dmitry | Note Added: 0002055 | |||||||||||||||||||||||||||||||||
2010-05-04 20:32 | Dmitry | Assigned To | !COMMUNITY => alex | ||||||||||||||||||||||||||||||||
2010-05-04 20:32 | Dmitry | Status | needs testing => reviewed and tested | ||||||||||||||||||||||||||||||||
2010-05-04 14:17 | alex | Note Added: 0002053 | |||||||||||||||||||||||||||||||||
2010-05-04 14:17 | alex | Assigned To | alex => !COMMUNITY | ||||||||||||||||||||||||||||||||
2010-05-04 14:17 | alex | Developer | => alex | ||||||||||||||||||||||||||||||||
2010-05-04 14:17 | alex | Status | needs work => needs testing | ||||||||||||||||||||||||||||||||
2010-05-04 14:06 | alex | File Added: js_css_compress_themes.patch | |||||||||||||||||||||||||||||||||
2010-05-04 14:05 | alex | File Added: js_css_compress_modules.patch | |||||||||||||||||||||||||||||||||
2010-05-04 14:05 | alex | File Added: js_css_compress_core.patch | |||||||||||||||||||||||||||||||||
2010-04-28 11:45 | Dmitry | Change Log Message | => Ability to automatically compress JS and CSS files on request | ||||||||||||||||||||||||||||||||
2010-04-28 11:45 | Dmitry | Status | active => needs work | ||||||||||||||||||||||||||||||||
2010-04-12 16:52 | Dmitry | Status | needs work => active | ||||||||||||||||||||||||||||||||
2010-04-08 23:57 | Dmitry | Assigned To | => alex | ||||||||||||||||||||||||||||||||
2010-04-08 23:57 | Dmitry | Status | active => needs work | ||||||||||||||||||||||||||||||||
2010-04-08 23:57 | Dmitry | Description Updated | bug_revision_view_page.php?rev_id=428#r428 | ||||||||||||||||||||||||||||||||
2010-04-08 23:56 | Dmitry | Target Version | Icebox => 5.1.0 | ||||||||||||||||||||||||||||||||
2009-12-16 15:03 | Dmitry | Target Version | => Icebox | ||||||||||||||||||||||||||||||||
2009-12-16 14:45 | Dmitry | New Issue | |||||||||||||||||||||||||||||||||
2009-12-16 14:45 | Dmitry | Reference | => Google Groups http://groups.google.com/group/in-portal-dev/browse_thread/thread/d81f3bf4d0f0bd38 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|