我已经使用Prerender.io超过一年了。很长一段时间,一切都很好。但最近,我一直在达到我的250缓存页面限制,这已经让我达到了支付水平。但我只有大约30-40页的缓存。问题是由于一些奇怪的嵌套路由问题,页面被缓存了很多次。
这是我的实际路线:
http://gdgspacecoast.org/#!/about (default)
http://gdgspacecoast.org/#!/news
http://gdgspacecoast.org/#!/events
http://gdgspacecoast.org/#!/activities
http://gdgspacecoast.org/#!/organizers
http://gdgspacecoast.org/#!/photos
以下是缓存内容的示例:
200 6.133 s http://gdgspacecoast.org/#!/activities,/photos,/events,/events,/events,/about,/about,/photos a day ago
200 5.096 s http://gdgspacecoast.org/#!/activities,/events,/photos,/photos,/about,/news a day ago
200 5.025 s http://gdgspacecoast.org/#!/activities,/events,/events,/photos,/activities a day ago
200 6.144 s http://gdgspacecoast.org/#!/activities,/photos,/activities,/photos a day ago
200 5.173 s http://gdgspacecoast.org/#!/activities,/events,/photos,/photos,/about,/events a day ago
200 12.044 s http://gdgspacecoast.org/#!/activities,/events,/news,/events,/events a day ago
200 5.353 s http://gdgspacecoast.org/#!/activities,/events,/photos,/photos,/about,/photos a day ago
200 5.107 s http://gdgspacecoast.org/#!/activities,/photos,/activities,/activities a day ago
200 5.092 s http://gdgspacecoast.org/#!/activities,/events,/news,/news,/activities a day ago
200 9.184 s http://gdgspacecoast.org/#!/activities,/photos,/events,/news a day ago
200 6.997 s http://gdgspacecoast.org/#!/activities,/events,/photos,/news,/activities a day ago
200 5.135 s http://gdgspacecoast.org/#!/activities,/events,/events,/about a day ago
200 7.353 s http://gdgspacecoast.org/#!/activities,/photos,/events,/events,/organizers,/events a day ago
200 5.082 s http://gdgspacecoast.org/#!/activities,/events,/photos,/news,/about a day ago
200 10.53 s http://gdgspacecoast.org/#!/activities,/events,/activities,/organizers,/organizers a day ago
200 10.174 s http://gdgspacecoast.org/#!/activities,/events,/activities,/organizers,/events a day ago
200 13.376 s http://gdgspacecoast.org/#!/activities,/events,/photos,/news a day ago
200 10.959 s http://gdgspacecoast.org/#!/activities,/photos,/events,/events,/events,/news a day ago
200 7.657 s http://gdgspacecoast.org/#!/activities,/events,/events,/photos,/events a day ago
200 11.13 s http://gdgspacecoast.org/#!/activities,/events,/news,/events a day ago
200 6.076 s http://gdgspacecoast.org/#!/activities,/events,/news,/news a day ago
200 5.507 s http://gdgspacecoast.org/#!/activities,/events,/activities,/organizers,/events,/events,/activities a day ago
200 5.079 s http://gdgspacecoast.org/#!/activities,/events,/events,/photos,/events,/news a day ago
200 5.072 s http://gdgspacecoast.org/#!/activities,/photos a day ago
200 5.076 s http://gdgspacecoast.org/#!/activities,/events,/photos,/photos,/activities a day ago
200 11.549 s http://gdgspacecoast.org/#!/activities,/events,/activities,/organizers,/events,/events a day ago
200 7.405 s http://gdgspacecoast.org/#!/activities,/events,/events,/photos a day ago
200 8.38 s http://gdgspacecoast.org/#!/activities,/events,/photos,/photos,/about a day ago
200 8.153 s http://gdgspacecoast.org/#!/activities,/photos,/activities a day ago
200 9.109 s http://gdgspacecoast.org/#!/activities,/photos,/events,/events,/organizers a day ago
200 12.325 s http://gdgspacecoast.org/#!/activities,/events,/news
以下是我的过滤器:
<filter>
<filter-name>prerender</filter-name>
<filter-class>com.github.greengerong.PreRenderSEOFilter</filter-class>
<init-param>
<param-name>prerenderToken</param-name>
<param-value>MYTOKEN</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>prerender</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
我正在使用https://github.com/greengerong/prerender-java
中的prerender-java-1.6.2.jar
如何避免这种行为,以至于我的使用费用比我实际使用的次数多很多?