Hello,
While doing some test with mod_pagespeed in debug mod (PageSpeedFilters=+debug), I found that ImagePreserveURLs (ipu) is on false thus ModPagespeedImagePreserveURLs is set to on in pagespeed apache conf file.
Then image file names in html files are extended with hash number.
In standard mode (production) files names are the original ones.
Is this the expected thing ?
Greatings,
Eric
--
X-Mod-Pagespeed : 1.9.32.10-7443, I'm back to last stable version and "low ressources server".
debug logs in html file :
mod_pagespeed on
Filters:
cw Collapse Whitespace
jc Combine Javascript
gp Convert Gif to Png
jp Convert Jpeg to Progressive
jw Convert Jpeg To Webp
pj Convert Png to Jpeg
db Debug
dj Defer Javascript
hw Flushes html
io In-place optimize for browser
idp Insert DNS Prefetch
js Jpeg Subsampling
pr Prioritize Critical Css
rj Recompress Jpeg
rp Recompress Png
rw Recompress Webp
rc Remove Comments
cf Rewrite Css
jm Rewrite External Javascript
jj Rewrite Inline Javascript
cp Strip Image Color Profiles
md Strip Image Meta Data
Options:
CssInlineMaxBytes (ci) 10240
EnableCachePurge (euci) True
EnableRewriting (e) 1
FileCacheCleanIntervalMs (afcci) 3600000
FileCacheSizeKb (afc) 4096000
ImagePreserveURLs (ipu) False
ImplicitCacheTtlMs (ict) 15549367000
LoadFromFileCacheTtlMs (lfct) 15549367000
LRUCacheByteLimit (alcb) 16384
LRUCacheKbPerProcess (alcp) 1024
RewriteDeadlinePerFlushMs (rdm) 20
RewriteLevel (l) Optimize For Bandwidth
RunExperiment (fur) False
StatisticsLogging (asle) True
SupportNoScriptEnabled (snse) False
>1. You set "ImagePreserveUrls on" in your config
>2. If you load your page normally your image urls aren't modified.
>3. If you load your page with ?PageSpeedFilters=+debug then the image
>urls are modified?
Yes, that's it.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/80f65edd-b16f-479c-95e5-fe73d51dfbf7%40googlegroups.com.
#
# Pagespeed Settings
#
pagespeed FileCachePath {{ nginx_cache_path }}/ngx_pagespeed_cache;
pagespeed ImageMaxRewritesAtOnce -1;
pagespeed EnableFilters convert_jpeg_to_webp,convert_to_webp_lossless,recompress_jpeg;
pagespeed EnableFilters collapse_whitespace,combine_css,convert_jpeg_to_progressive;
pagespeed EnableFilters rewrite_images,resize_rendered_image_dimensions,extend_cache;
pagespeed DisableFilters inline_images,inline_preview_images;
pagespeed DisableFilters lazyload_images,extend_cache_images,sprite_images;
pagespeed ImagePreserveURLs on;
pagespeed InPlaceResourceOptimization on;
pagespeed RewriteRandomDropPercentage 0;
pagespeed PreserveUrlRelativity on;
pagespeed ImageResolutionLimitBytes 128000000;
pagespeed RewriteDeadlinePerFlushMs 25;
pagespeed CriticalImagesBeaconEnabled false;
pagespeed StatisticsPath /ngx_pagespeed_statistics;
pagespeed MessagesPath /ngx_pagespeed_message;
pagespeed ConsolePath /pagespeed_console;
pagespeed AdminPath /pagespeed_admin;
pagespeed FileCacheSizeKb 1024000;
pagespeed FileCacheCleanIntervalMs 3600000;
pagespeed FileCacheInodeLimit 500000;
pagespeed LRUCacheKbPerProcess 8192;
pagespeed LRUCacheByteLimit 16384;
pagespeed MemcachedServers "mc1:11211,mc2:11211";