New answers tagged

2

Is it possible to completely change the url like from google.com to Welcom.To.The.Website No, you cannot change the domain (ie. the origin). Presumably you are referring to HTML5's pushState()? From Mozilla Developer help: The new URL must be of the same origin as the current URL; otherwise, pushState() will throw an exception. Apart from being ...


-1

It's from Tor browsers like Orweb and Orfox.


8

You have two approaches to this problem. The clean way is to set the headers returned for GET data.txt preventing the browser (or proxy) from storing the response in cache. Using apache, this can usually be done by adding a few lines in a .htaccess file. If this data.txt is a static file, this is the only way you could control the headers. From ...


2

The right way would be to change the Apache configuration (via htaccess or conf file) with the expire headers with very low caching time. Double check if you have access to .htaccess file if not Apache conf file. However, if you absolutely can't alter .htaccess or Apache conf, there may be a trick to achieve it. Most developers use this trick to renew the ...


0

I'm limited to 2 links in my response... to talk about how links actually work, it's a challenge :-/ Perhaps I'll gain a few points and I could come back and improve this expiation soon. As mention already, website behaviours and response is specific to server used and it's wide range of settings. Perhaps I could describe the 'typical' behaviour of a LAMP ...


13

Your browsers doesn't load any file, it requests a resource which the server then provides at his discretion (lengthy elaboration below). If you type google.com into your browsers toolbar, the browser wil first append a protocol, either http:// or https. Then browser will look up the IP address belonging to google.com, which is 172.217.19.206. Your browser ...


4

I'm wondering how I know what file is being rendered. I can eventually guess it accurately on a long enough timeline by simply explicitly calling on that filename in the URL. www.xyz.com/index.html fail to load anything? Then try www.xyz.com/index.htm and then so on until I get the site to render. I'm just looking for a shortcut to know what file my ...


0

I use https://www.browserstack.com Browserstack. It's a pay service, but allows for debugging via the chrome inspector tools for iPhone and Android devices. Additionally you can test on Mac or PC if you don't have one. It's all browser based and live testing, so changes are reflected immediately.


0

There are 2 helpful sites you should be using. Both options have free options for many purposes, have no required downloads/accounts, and are exceedingly useful. www.MobileTest.me - For mobile browsers. Just pick the phone you want to view an URL on and it shows right up. www.Browsera.com - For desktop browsers. Shows which browsers / versions are most ...


15

The browser isn't looking for a file. It's just asking for a resource. The server then decides what that resource returns. At it's most basic level that "file" is literally just a file. In the case of the default index page of a directory how the server is set up will determine which files is returned. Some servers are configured by default to return ...



Top 50 recent answers are included