Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
makss – Here is what I see in my article:
Array ( [0] => zlib output compression [1] => default output handler [2] => aks_header_callback [3] => default output handler )
Does that give you any clues?
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Here is my list of active plugins. They all seem to have an “order” of 5, except for aks_header:
aks_header
asy_sitemap
gbp_admin_library
jmd_img_selector
nab_if_future
pap_contact_cleaner
rss_admin_show_adv_opts
rss_auto_excerpt
smd_where_used
tru_tags
upm_image
zem_contact_lang
zem_contact_reborn
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
makss – Here is what I see in my article:
Array ( [0] => zlib output compression [1] => default output handler [2] => aks_header_callback [3] => default output handler )
Your already use “zlib output compression”. Set attribute gzip=“0”
<txp:aks_header strip="1" gzip="0" /><!DOCTYPE html . . .
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Oh…D’oh! Thanks so much for your patience.
Is there any easy way to determine if a site is using gzip already? I did not think my web host offered mod_gzip. I certainly don’t think I did anything to enable it…Hm.
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
nabrown78 wrote:
Is there any easy way to determine if a site is using gzip already?
I use console utility wget (unix,linux,windows). Sample request:
wget -d --header "Accept-Encoding: gzip,deflate" http://yoursite.com/
Response (if used compression):
Content-Encoding: gzip
or
Content-Encoding: deflate
.
New version aks_header 0.3.3c- Added check if already using “zlib output compression”
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Is there any easy way to determine if a site is using gzip already?
If you have Firefox, install the addon webdeveloper toolbar.
If installed you will find in the toolbar under »information« the last point »Show Response Header«. If you find a Content-Encoding: gzip
in the output, so gzipping is enabled.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
If you have Firefox, install the addon webdeveloper toolbar.
If installed you will find in the toolbar under »information« the last point »Show Response Header«. If you find a Content-Encoding: gzip in the output, so gzipping is enabled.
Very cool! Yet another feature of the Web Developer toolbar that I hadn’t discovered.
I’m just now getting hip to the whole speed optimizing/gzip thing. I see that when mod_gzip isn’t available, aks_header is an excellent alternative for gzipping your html. Any recommendations on combining/gzipping multiple css and javascript files? In general I don’t manage my css through Textpattern’s Style tab, just keep it external.
Thanks for everyone’s help.
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
nabrown78 wrote:
Is there any easy way to determine if a site is using gzip already?
Google says: Online gzip test
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Thanks I just found that handy tool. I also came across this post about combining and gzipping css and js on this forum. The page it refers to seems to present a good option for those of us who don’t have mod_gzip available.
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Thanks I just found that handy tool. I also came across this post about combining and gzipping css and js on this forum. The page it refers to seems to present a good option for those of us who don’t have mod_gzip available.
nabrown78, Thanks for links.
Warning in combine.php small bug. Need change line
if ($version == 6 && !strstr($_SERVER['HTTP_USER_AGENT'], 'EV1'))
to
if ($version == 6 && !strstr($_SERVER['HTTP_USER_AGENT'], 'SV1'))
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
- Check for buggy versions of Internet Explorer
Last edited by makss (2016-01-16 18:40:15)
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Am I correct in my assumption that aks301 can only forward to a specific page?
What I am needing is the ability to forward an old section to a new section…
ie… section “blog” is changing to section “news”… I need
http://www.domain.com/blog/blog-title
forwarded to…
http://www.domain.com/news/blog-title
Is there a way aks301 can do this that I am missing?
If I am correct in my assumption can y’all think of a plugin that will do this?
thanks!
Offline