deadline_exceeded for filter CacheExtender, filter CssFilter, filter CssCombine

2,053 views
Skip to first unread message

Rabijit Khuntia

unread,
Jul 22, 2017, 8:06:49 PM7/22/17
to mod-pagespeed-discuss
Hello,

I am getting following error 

<link rel="stylesheet" href="domainname.com/style.css"><!--deadline_exceeded for filter CacheExtender--><!--deadline_exceeded--><!--deadline_exceeded for filter CssFilter--><!--deadline_exceeded for filter CssCombine-->

followed some other link but no luck

settings of 456_pagespeed.conf

  ModPagespeed on
  ModPagespeedRewriteLevel CoreFilters
  ModPagespeedEnableFilters combine_css
  ModPagespeedDomain https://www.newsys.in
  ModPagespeedFetchHttps enable

AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
ModPagespeedFileCachePath "/var/mod_pagespeed/cache/"


ModPagespeedFileCacheSizeKb 102400 
    ModPagespeedFileCacheCleanIntervalMs 3600000 
    ModPagespeedLRUCacheKbPerProcess 1024 
    ModPagespeedLRUCacheByteLimit 16384 
    ModPagespeedCssInlineMaxBytes 2048 
    ModPagespeedImgInlineMaxBytes 2048 
    ModPagespeedJsInlineMaxBytes 2048 
    ModPagespeedCssOutlineMinBytes 3000 
    ModPagespeedJsOutlineMinBytes 3000


   centos 7, apache with cpanel and whm


Thanks


 

AGENCE WEB PLUS

unread,
Jul 23, 2017, 11:46:20 AM7/23/17
to mod-pagespeed-discuss
Hi,

Try to add these directives :

ModPagespeedDomain *.newsys.in
ModPagespeedLoadFromFile "https://www.newsys.in" \
                         "/var/www/path"

Otto van der Schaaf

unread,
Jul 23, 2017, 4:15:13 PM7/23/17
to mod-pagespeed-discuss
Configuring ModPagespeedLoadFromFile may resolve the problem by either speeding up the transient "deadline expired" messages or working around any problems in the http(s) fetching paths. But it you configure direct file loading from the web root, you need to check if you need to restrict direct loading, to avoid exposing sensitive files. 

Joshua Marantz

unread,
Jul 23, 2017, 9:10:50 PM7/23/17
to mod-pagespeed-discuss
Also it's not necessarily a problem that you receive a 'deadline exceeded' message, and perhaps that message sound unnecessarily harsh.

It's just indicating that an optimization is occurring in the background, to avoid further delay delivering HTML to the client.

This is only a problem if every time you refresh the page, that message keeps showing up.  If this is the case, there might be something wrong with your cache.  Could you check the Apache logs to see if mod_pagespeed is printing error messages?

LoadFromFile might be a workaround for extend_cache, but not for image optimization.

-Josh


--
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-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/7770172e-4635-465f-948d-9e3d14b527cf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages