'De-optimize' a website?Autor: Malcolm P.
I have a website which uses custom code to resize the page background images on smartphones (further details on 'Resize page background with screen width' thread if interested).
The latest iteration of the custom code seems to have been working correctly on all devices up until last Friday, when I uploaded a 'final' update to the site with the 'Enable file minification' and 'Enable gzip compression' options in Step 1/Advanced/SEO ticked.
Since then, the client informs me, and I have confirmed elsewhere, that the page backgrounds no longer resize on an iPhone (and apparently also on iPads), although the resizing still works perfectly on an iMac, various PCs and my own Samsung Android phone. As far as I have been able to determine, this change in behaviour on iPhones is exactly coincident with the change in the optimization settings.
It doesn't make much sense that the erroneous behaviour is apparently peculiar to iOS devices and no others, but it is entirely repeatable.
I now need to 'de-optimize' the site to determine if that is the actual cause and to correct it if so. Can this be done by simply deselecting the optimization options, doing a Ctrl-Preview and uploading all the pages afresh? Is there anything else necessary, like perhaps manually editing the .htaccess file which was changed by the initial optimisation? I can't simply wipe the live site and upload a fresh version as it has a heavily customised third-party booking script and it would cause major problems if that were to be damaged or lost in the process.
Any advice and suggestions would be greatly appreciated.
Thanks in advance.