anikesh / web-optimizator

Automatically exported from code.google.com/p/web-optimizator
0 stars 0 forks source link

файлы в web-optimizer/cache/ #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
раньше я писал что при включение mod_rewrite 
сползает все оформление,
оказалось что при любой настройки на 
хостинге не записываются файлы
объединенные и сжатые в web-optimizer/cache/ там 
только стандартные 4
файла, хотя на локалке файлы css и js 
создаются там в сжатом и объединенном
виде, как это лечить, я так понимаю виноват 
уже не mod_rewrite а то что не
чего не создается

Original issue reported on code.google.com by h1t...@gmail.com on 21 Nov 2009 at 9:53

GoogleCodeExporter commented 9 years ago
что значит "при любой настройки на хостинге 
не записываются файлы"

Original comment by sunny.dr...@gmail.com on 21 Nov 2009 at 11:05

GoogleCodeExporter commented 9 years ago
при любой настройке в web-optimizer на хостинге 
не записываются файлы в папку
web-optimizer/cache/ , а на локале записываются

Original comment by h1t...@gmail.com on 22 Nov 2009 at 8:34

GoogleCodeExporter commented 9 years ago
по всей видимости, либо неверно прописаны 
пути для директорий кэширования, либо нет 
доступа на запись в эти директории

Original comment by sunny.dr...@gmail.com on 22 Nov 2009 at 11:05

GoogleCodeExporter commented 9 years ago
пути указаны правильно, и доступ на запись 
стоит 777

Original comment by h1t...@gmail.com on 23 Nov 2009 at 4:55

GoogleCodeExporter commented 9 years ago
Проверьте, пожалуйста, настройку в config.webo.php
['active'] = "1"

Original comment by sunny.dr...@gmail.com on 23 Nov 2009 at 9:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
gzip в системе отключен?

Original comment by sunny.dr...@gmail.com on 23 Nov 2009 at 2:48

GoogleCodeExporter commented 9 years ago
в общем ['active'] = "1"
gzip в системе отключен
в общем заного все переустоновил, в итоге 
при настройке на объединение и
минимизирование css и js, создается в папке 
web-optimizer/cache/ только сжатый и
объединенный файл для js , а при загрузке в 
коде страницы загружается сжатый файл js
а вот css загружаются не сжатые, и если в 
.htaccess присутствуют след строки
созданные web-optimizer то все оформление 
слетает, а если их удалить то норм, но ксс
не объеденяется не записывается файл в 
web-optimizer/cache/ и не прописывается даже в
коде страницы

<IfModule mod_rewrite.c>
    RewriteRule ^(.*)\.css$ /web-optimizer/cache/wo.static.php?$1.css [L]
    RewriteRule ^(.*)\.js$ /web-optimizer/cache/wo.static.php?$1.js [L]
    RewriteRule ^(.*)\.(bmp|gif|png|jpe?g|ico)$ /web-optimizer/cache/wo.static.php?$1.$2 [L]
    RewriteRule ^(.*)\.(flv|wmv|asf|asx|wma|wax|wmx|wm)$
/web-optimizer/cache/wo.static.php?$1.$2 [L]
    RewriteRule ^(.*)\.(swf|pdf|doc|rtf|xls|ppt)$
/web-optimizer/cache/wo.static.php?$1.$2 [L]
    RewriteRule ^(.*)\.(eot|ttf|otf|svg)$ /web-optimizer/cache/wo.static.php?$1.$2 [L]
</IfModule>

p.s. сори за тавтологию 

Original comment by h1t...@gmail.com on 23 Nov 2009 at 9:47

GoogleCodeExporter commented 9 years ago
можно HTML-код страницы до сжатия? И я так 
понимаю, используется некоммерческая 
версия? 
(может быть, проблема конкретно в ней -- в 
основном коммерческая тестируется)

Original comment by sunny.dr...@gmail.com on 23 Nov 2009 at 9:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ну просто как то не очень хочется покупать 
коммерческую, когда даже бесплатная
урезанная версия не до конца работает)

Original comment by h1t...@gmail.com on 23 Nov 2009 at 10:11

Attachments:

GoogleCodeExporter commented 9 years ago
видимо, тогда нужно еще конфиг выложить. Со 
следующим конфигом данный HTML 
обрабатывается нормально. Плагин под Joomla! 
ведет себя аналогично?

## Add JS loader for all libraries on DOMloaded event
$compress_options['unobtrusive']['on'] = "0";
## Add merged script right before </body>
$compress_options['unobtrusive']['body'] = "0";
## Put all scripts right before </body>
$compress_options['unobtrusive']['all'] = "0";
## Put all known JS informers right before </body>
$compress_options['unobtrusive']['informers'] = "0";
## Put all known JS counters right before </body>
$compress_options['unobtrusive']['counters'] = "0";
## Put all known advertisement blocks right before </body>
$compress_options['unobtrusive']['ads'] = "0";
## Load all iframes near </body>
$compress_options['unobtrusive']['iframes'] = "0";
## Merge external JavaScript files
$compress_options['external_scripts']['on'] = "1";
## Merge inline scripts in head
$compress_options['external_scripts']['inline'] = "1";
## Move merged scripts to </head>
$compress_options['external_scripts']['head_end'] = "1";
## Merge external CSS files
$compress_options['external_scripts']['css'] = "1";
## Merge inline styles in head
$compress_options['external_scripts']['css_inline'] = "1";
## Ignore list, files separated by space
$compress_options['external_scripts']['ignore_list'] = "wpsf-js.php tiny_mce.js 
tiny_mce_gzip.php fckeditor.js";
## Include CSS code to all generated files
$compress_options['external_scripts']['include_code'] = "";
## To get through HTTP Basic Authorization
$compress_options['external_scripts']['user'] = "";
$compress_options['external_scripts']['pass'] = "";
## Performance options, don't check files mtime
$compress_options['performance']['mtime'] = "1";
## Quick checksum for head section
$compress_options['performance']['quick_check'] = "0";
## Don't use RegExp everywhere where it's possible
$compress_options['performance']['plain_string'] = "1";
## Cache version, ignore cache integrity, no I/O overhead
$compress_options['performance']['cache_version'] = "0";
## Uniform cache files through all browsers
$compress_options['performance']['uniform_cache'] = "0";
## Minify options, JS
$compress_options['minify']['javascript'] = "1";
## Minify JS inside <body> tag. Please be carefull
$compress_options['minify']['javascript_body'] = "0";
## Minify JS with JSMin from Douglas Crockford
$compress_options['minify']['with_jsmin'] = "1";
## Minify JS with Dean Edwards Packer
$compress_options['minify']['with_packer'] = "0";
## Minify JS with YUI Compressor (requires java installed)
$compress_options['minify']['with_yui'] = "0";
## Minify CSS
$compress_options['minify']['css'] = "1";
## Minify CSS inside <body> tag
$compress_options['minify']['css_body'] = "0";
## Remove whitespaces
$compress_options['minify']['page'] = "1";
## Remove comments from HTML. Some JS counters can be broken
$compress_options['minify']['html_comments'] = "0";
## Shrink HTML code to 1 string, CPU intensive
$compress_options['minify']['html_one_string'] = "0";
## CSS file name (only if 1 CSS set for website is used)
$compress_options['minify']['css_file'] = "";
## JS file name (only if 1 JS set for website is used)
$compress_options['minify']['javascript_file'] = "";
## Gzip options
$compress_options['gzip']['javascript'] = "1";
$compress_options['gzip']['page'] = "1";
$compress_options['gzip']['css'] = "1";
## Gzip font files (SVG, TTF, OTF, etc)
$compress_options['gzip']['fonts'] = "1";
## Check for gzip possibility via cookie
$compress_options['gzip']['cookie'] = "1";
## Exclude IE6/7 from gzip logic
$compress_options['gzip']['noie'] = "0";
## Compression levels for JS/HTML/CSS files, work only in PHP
$compress_options['gzip']['javascript_level'] = "9";
$compress_options['gzip']['page_level'] = "9";
$compress_options['gzip']['css_level'] = "9";
$compress_options['gzip']['fonts_level'] = "9";
## Caching
$compress_options['far_future_expires']['javascript'] = "1";
$compress_options['far_future_expires']['css'] = "1";
## Cache static assets via .htaccess or PHP proxy
$compress_options['far_future_expires']['images'] = "1";
$compress_options['far_future_expires']['fonts'] = "1";
## Cache static assets (flash, video, etc) -- only via .htaccess
$compress_options['far_future_expires']['video'] = "1";
$compress_options['far_future_expires']['static'] = "1";
## Send cache headers for HTML files?
$compress_options['far_future_expires']['html'] = "0";
## Default timeout of client side HTML files caching, in seconds
$compress_options['far_future_expires']['html_timeout'] = "60";
## Add caching for external files
$compress_options['far_future_expires']['external'] = "0";
## Cache generated HTML files
$compress_options['html_cache']['enabled'] = "0";
## Cache timeout for generated HTML files, in seconds
$compress_options['html_cache']['timeout'] = "600";
## Flush head section with first N bytes of body?
$compress_options['html_cache']['flush_only'] = "1";
## Flush size of HTML body
$compress_options['html_cache']['flush_size'] = "1024";
## Parts of ignore URL for HTML cache, separated by space
$compress_options['html_cache']['ignore_list'] = "";
## Parts of user agents to output cached HTML, separated by space
$compress_options['html_cache']['allowed_list'] = "office data msfrontpage 
yahoo 
googlebot yandex yadirect dyatel msnbot twiceler";
## On or off
$compress_options['active'] = "1";
## Display a link back to Web Optimizer
$compress_options['footer']['text'] = "1";
## Image path for Web Optimizer, empty for text link
$compress_options['footer']['image'] = "web.optimizer.stamp.png";
## Text for a text link
$compress_options['footer']['link'] = "Accelerated with Web Optimizer";
## CSS styles to place Web Optimizer stamp
$compress_options['footer']['css_code'] = "float:right;margin:-104px 4px 
-100px";
## Add a spot to <title>: lang="wo" or xml:lang="wo"
$compress_options['footer']['spot'] = "1";
## Should Web Optimizer use data URIs for background images?
$compress_options['data_uris']['on'] = "1";
## Should Web Optimizer separate CSS for rules and images?
$compress_options['data_uris']['separate'] = "1";
## Should Web Optimizer load resource CSS on DOMloaded event?
$compress_options['data_uris']['domloaded'] = "1";
## Optimiza all CSS images via smush.it?
$compress_options['data_uris']['smushit'] = "0";
## Maximum size of images to be converted, in bytes
$compress_options['data_uris']['size'] = "24576";
## data:URI ignore list, files separated by space, i.e. head.jpg
$compress_options['data_uris']['ignore_list'] = "";
## Should Web Optimizer use mhtml for background images?
$compress_options['data_uris']['mhtml'] = "1";
## Maximum size of images to be converted into mhtml, in bytes
$compress_options['data_uris']['mhtml_size'] = "51200";
## mhtml ignore list, files separated by space, i.e. head.jpg
$compress_options['data_uris']['additional_list'] = "";
## Should Web Optimizer use CSS Sprites for background images?
$compress_options['css_sprites']['enabled'] = "1";
## Save 24bit images in JPEG not PNG
$compress_options['css_sprites']['truecolor_in_jpeg'] = "0";
## Ignore no dimensions for repeat-x / repeat-y Sprites
$compress_options['css_sprites']['aggressive'] = "0";
## Add additional 5px around images to CSS Sprites
$compress_options['css_sprites']['extra_space'] = "1";
## Exclude IE6 from CSS Sprites creation
$compress_options['css_sprites']['no_ie6'] = "1";
## Restrict large Sprites creation on PHP memory limit
$compress_options['css_sprites']['memory_limited'] = "1";
## Restrict large Sprites creation on GDlib failure, in pixels
$compress_options['css_sprites']['dimensions_limited'] = "900";
## CSS Sprites ignore list, files separated by space, i.e. head.jpg
$compress_options['css_sprites']['ignore_list'] = "corners.gif";
## Parallel downloads
$compress_options['parallel']['enabled'] = "1";
## Check hosts availability or not?
$compress_options['parallel']['check'] = "1";
## List of hosts for parallel downloads, i.e. img i1 i2
$compress_options['parallel']['allowed_list'] = "i i2";
## List of websites (saellites) to distribute through them,
## i.e. satellite.com satellite2.com
$compress_options['parallel']['additional'] = "";
## List of satellites' hosts, i.e. i1 i2 i3
$compress_options['parallel']['additional_list'] = "";
## Should be gzip / cache settings written via .htaccess?
$compress_options['htaccess']['enabled'] = "1";
$compress_options['htaccess']['mod_deflate'] = "1";
$compress_options['htaccess']['mod_gzip'] = "";
$compress_options['htaccess']['mod_expires'] = "1";
$compress_options['htaccess']['mod_headers'] = "1";
$compress_options['htaccess']['mod_setenvif'] = "1";
$compress_options['htaccess']['mod_rewrite'] = "1";
$compress_options['htaccess']['mod_mime'] = "1";
## Use local directory with installed website
$compress_options['htaccess']['local'] = "1";
## Security options
$compress_options['htaccess']['access'] = "0";
## Enable auto-rewrite for index.php
$compress_options['auto_rewrite']['enabled'] = "1";
## Enable chained optimization for the website
$compress_options['auto_rewrite']['chained'] = "1";
## List of enabled plugins for server side performance
$compress_options['plugins'] = "";
## Web Optimizer license, empty for free edition
$compress_options['license'] = "";

Original comment by sunny.dr...@gmail.com on 24 Nov 2009 at 7:17

GoogleCodeExporter commented 9 years ago
вообщем, вроде все работает, снова удалил 
web-optimizer, поставил заного, включил
его, сразу удалил строки из за которых все 
сползает в .htaccess в итоге с 52 до 71
поднялась оценка yslow, но теперь проблема 
которую не знаю к чему отнести, если на
сайте залогиниться то js вообще не 
подгружаются, а если попытаться 
проссмотреть
<script type="text/javascript"
src="http://www.****.ru/web-optimizer/cache/bdb29572bb.php?1259051871"></script>
через мозилу, то там выскакивает ошибка <br />
Parse error:  syntax error, unexpected T_STRING in
/var/www/vhosts/******/httpdocs/web-optimizer/cache/bdb29572bb.php on line
542<br />

в данной строке находится // <?php !! This fools 
phpdocumentor into parsing this file
вот теперь осталось узнать как это 
побороть и можно покупать лицензию)

Original comment by h1t...@gmail.com on 24 Nov 2009 at 8:45

GoogleCodeExporter commented 9 years ago
конфиг щас такой

Original comment by h1t...@gmail.com on 24 Nov 2009 at 8:48

Attachments:

GoogleCodeExporter commented 9 years ago
какой-то из JS-файлов выдает неверный код 
при попытке его прогрузить через curl.
скорее всего, нужно исключить importer.php

Хорошо бы исходники этого mod_gk_news_image, чтобы 
в ядре поправить взаимодействие

Original comment by sunny.dr...@gmail.com on 24 Nov 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Хорошо бы еще понять, почему rewrite'ы убивают 
файлы: по идее, файлы должны отдаваться 
через cache/wo.static.php с кэширующими заголовками

Original comment by sunny.dr...@gmail.com on 24 Nov 2009 at 9:30

GoogleCodeExporter commented 9 years ago
исключил importer.php, не помогло, после логина 
все js скрипты отваливаются, просто
само меню полностью на js построено, 
прикрепил исходник gk_slide который стоит на
сайте, и опять же если не удалить часть кода 
из .htaccess то загибается все оформление

Original comment by h1t...@gmail.com on 24 Nov 2009 at 10:18

Attachments:

GoogleCodeExporter commented 9 years ago
вот .htaccess с уже удаленной частью кода из за 
который оформление сползает

# Web Optimizer options
<IfModule mod_setenvif.c>
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch SV1; !no_gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain text/html text/xml application/xhtml+xml
image/x-icon
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript application/javascript
application/x-javascript text/x-js text/ecmascript application/ecmascript
text/vbscript text/fluffscript
    AddOutputFilterByType DEFLATE image/svg+xml application/x-font-ttf
application/x-font font/opentype font/otf font/ttf application/x-font-truetype
application/x-font-opentype application/vnd.ms-fontobject
application/vnd.oasis.opendocument.formula-template
</IfModule>
<IfModule mod_mime.c>
    AddEncoding gzip .gz
    AddEncoding deflate .df
</IfModule>
Options +FollowSymLinks +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(.*)\.wo[0-9]+\.(css|php)$ $1.$2
    RewriteRule ^(.*)\.wo[0-9]+\.(js|php)$ $1.$2
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{HTTP_USER_AGENT} !Konqueror
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)\.ico$ $1.ico.gz [QSA,L]
    <FilesMatch \.ico\.gz$>
        ForceType image/x-icon
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{HTTP_USER_AGENT} !Konqueror
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)\.xml$ $1.xml.gz [QSA,L]
    <FilesMatch \.xml\.gz$>
        ForceType text/xml
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{HTTP_USER_AGENT} !Konqueror
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)\.css$ $1.css.gz [QSA,L]
    <FilesMatch \.css\.gz$>
        ForceType text/css
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{HTTP_USER_AGENT} !Konqueror
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)\.js$ $1.js.gz [QSA,L]
    <FilesMatch \.js\.gz$>
        ForceType application/x-javascript
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{HTTP_USER_AGENT} !Konqueror
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)\.(ttf|otf|eot|svg)$ $1.$2.gz [QSA,L]
    <FilesMatch \.ttf\.gz$>
        ForceType application/x-font-truetype
    </FilesMatch>
    <FilesMatch \.otf\.gz$>
        ForceType application/x-font-opentype
    </FilesMatch>
    <FilesMatch \.svg\.gz$>
        ForceType image/svg+xml
    </FilesMatch>
    <FilesMatch \.eot\.gz$>
        ForceType application/vnd.ms-fontobject
    </FilesMatch>
</IfModule>
# Web Optimizer end
FilterDeclare gzip CONTENT_SET
FilterProvider gzip deflate resp=Content-Type $text/
FilterProvider gzip deflate resp=Content-Type $javascript
FilterProvider gzip inflate req=Accept-Encoding !$gzip
FilterChain gzip 
<IfModule mod_deflate.c>
    AddOutPutFilterByType DEFLATE text/html text/plain text/xml
    <IfModule mod_setenvif.c>
        # Netscape 4.x has some problems...
        BrowserMatch ^Mozilla/4 gzip-only-text/html

        # Netscape 4.06-4.08 have some more problems
        BrowserMatch ^Mozilla/4.0[678] no-gzip

        # MSIE masquerades as Netscape, but it is fine
        # BrowserMatch bMSIE !no-gzip !gzip-only-text/html

        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
        # the above regex won't work. You can use the following
        # workaround to get the desired effect:
        BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

        # Don't compress images
        SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>

    <IfModule mod_headers.c>
        # Make sure proxies don't deliver the wrong content
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
</IfModule>
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but 
may
already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it 
out
(add # to
# beginning of line), reload your site in your browser and test your sef url's. 
 If
they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################
##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
#
#  mod_rewrite in use
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits
#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)
# RewriteBase /
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  
[NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
AddDefaultCharset utf-8

Original comment by h1t...@gmail.com on 24 Nov 2009 at 10:22

GoogleCodeExporter commented 9 years ago
"часть кода из .htaccess" вставляется при 
включении клиентского кэширования. Почему 
она 
не отрабатывает -- надо смотреть на ответ / 
обработку этой библиотеки на сервере. Без 
физического адреса сервера (какой 
конкретно URL загибается) это сделать нельзя 
(даже 
наличие URL, который отрабатывает 
некорректно не гарантирует решение 
проблемы).

Original comment by sunny.dr...@gmail.com on 24 Nov 2009 at 10:24

GoogleCodeExporter commented 9 years ago
немного поэкспериментировал и заметил что 
если сжимать при помощи jsmin то со
скриптами все норм, только немного 
сползает оформление yoo_login, а если сжимать 
как
до этого YUI то после логина скрипты не 
загружаются, при сжатие через Packer скрипты
не загружаются вообще

Original comment by h1t...@gmail.com on 24 Nov 2009 at 10:43

GoogleCodeExporter commented 9 years ago
ну, видимо, можно заводить соответствующие 
баги для разработчиков Packer / YUI 
Compressor

Оформление от скриптов не зависит, скорее 
всего. Это больше прерогатива CSS Tidy и его 
использования в данном конкретном случае.

Original comment by sunny.dr...@gmail.com on 24 Nov 2009 at 10:52

GoogleCodeExporter commented 9 years ago
еще если не добавить в исключение tiny_mce_src.js 
tiny_init.js то тоже отрубаются js
скрипты там где должен загружаться 
редактор этот редактор от компонента sobi2

Original comment by h1t...@gmail.com on 24 Nov 2009 at 11:03

GoogleCodeExporter commented 9 years ago
кстати может быть приходится удалять часть 
кода из за того что mod_expires на
хостинге не установлен?)

Original comment by h1t...@gmail.com on 24 Nov 2009 at 11:29

GoogleCodeExporter commented 9 years ago
да, Web Optimizer эмулирует поведение mod_expires 
всеми доступными способами.

tiny_mce_src.js tiny_init.js добавлены в исключения по 
умолчанию. Больше 
сформулированных проблем в данной вопросе 
пока нет.

Original comment by sunny.dr...@gmail.com on 26 Nov 2009 at 4:49