Wednesday, September 3, 2014

Re: Make gwt website crawlable without hash symbol?

As you said when you change what is behind the # inside your url you do not reload the page. This is the default behavior of anchors. http://www.hypergurl.com/anchors.html

GWT and many other frameworks use that trick to create bookmarkable url and handling history without having to reload the whole page in a single page application.

If you remove the hash your browser will see a new resource and will make a new query. There is no way to remove the # from your GWT app without having to reload the whole page.



On Tuesday, September 2, 2014 8:06:03 PM UTC+2, Joseph Lust wrote:
Most browsers can scrape sites, even with the hash bang. You just need to follow GWT best practices. No hashbang browsing could be possible, perhaps with the HTML5 PushState API, but your app will only work on the most recent browsers.



Joe 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment