by Adactus Ltd
4. November 2011 09:02
by Adactus Ltd
22. March 2011 13:38
We found a blog article with the top 25 mobile commerce tips - well worth reading before you start your next mobile project: http://econsultancy.com/uk/blog/7285-mobile-commerce-25-essential-tips
by Adactus Ltd
2. March 2011 08:45
The final set of optimisation tips for your website are below - the next set of web optimisation blogs will look further into the tools available to help analyse and enhance performance.
Optimise your JavaScript
- Merge JavaScript files into a single file
- Minify JavaScript
- Remove comments and any whitespace
Expect to see a load time reduction of up to 15%.
The challenges are preserving functionality and maintenance. There are tools you can use to do this, ranging from online compression tools or the excellent YUI Compressor.
Make StyleSheets and JavaScript External Files
This allows the files to be cached by the user’s browser making subsequent load times faster.
Avoid Redirects
Redirects are additional requests for the server to process and delay the delivery of HTML content. Incorrect links also cause wasteful redirections, e.g. missing the trailing ‘/’ from the end of a URL.
Configure E-Tags
Entity tags are used by browsers to check if a cached resource matches the version on the server.
Note E-Tags do not work within an IIS web farm but there is a nifty work around by simply setting them to an empty string.
by Adactus Ltd
28. February 2011 09:41
Some more basic web performance tips for you today - we'll post some more tips and shortly we'll add some content on further web analysis.
StyleSheets
Put these at the top of your page – whilst it doesn’t affect the load time it does affect the render time of the page. This tip makes pages appear to load quicker, especially IE browsers which wait until all the StyleSheet are loaded before rendering a page.
This also avoids white screen phenomenon or un-styled content appearing.
And yes… StyleSheet should only be included in your page’s <head> tag.
Script Placement
The opposite of the previous StyleSheet tip – place all your scripts at the end of the page. Having scripts at the top of the page blocks other content downloading or being rendered beneath the script. Ideally you’d use asynchronous JavaScript loading.
Optimise your CSS
Optimising your CSS can give a good performance improvement for your website:
- Merge StyleSheets into single file
- Minify CSS in StyleSheet
- Place StyleSheet at beginning of HTML
- Page render starts after all StyleSheets are loaded
- Avoid CSS Expressions
Doing this could reduce start-up rendering by 75%.
by Adactus Ltd
4. February 2011 09:36
Mobile applications were a major growth area of 2010 and will continue to be so in 2011 with the growth of the iPhone (iOS) and Android platforms pushing mobile applications into the fore. However, the mobile networks still lack 100% 3G support in the UK, and as a result we need to offer a way for users to access their mobile applications whilst without network access. But how can we handle offline storage for mobile applications?
There are two possible approaches for you to choose from:
Go Native
Native applications have a built in framework for offline storage. However, it is not currently possible to develop a native app for one device and deploy it on another which means you will need to develop multiple versions of the app for each device - not particularly cost effective!
HTML 5 and the Web App
Enter the web app. Any WebKit based mobile browser (iOS and Android) will now have a decent level of HTML5 support. This means we have elements of offline storage available to us. The market is still young though - political squabbles are rife and the browser vendors are doing their own thing, much to the dismay of the W3C, who have their own ideas!
There is without doubt, a huge potential with HTML5, offline apps and client-side storage.
Research
Here at Adactus we've been researching offline mobile application storage and the available solutions - in the next few days we'll be publishing results of our research in our main website www.adactus.co.uk. Although Web SQL Storage is being shunned by various entities in the development community it is already supported and widely used in the mobile market (iOS, Nokia Symbian, Blackberry and Android) and any other WebKit based mobile browsers.
- There are a number of data caching libraries in JavaScript. Some are more stable and widely used than others. None provide synchronization capabilities.
- There are no local storage-to-server synchronization open source projects out there. The recommended advice is to roll your own.
- It is possible to build this. The proof of concept roughly works but is a hack and needs further work.
- The development of the sync framework in JavaScript is probably the hardest challenge, but a developer with excellent JavaScript and jQuery skills would be able to do this. You would be looking for someone with jQuery Plugin authoring experience.
We'd also be interested to hear your thoughts so please add your comments below.
743b537a-5df9-4467-9ff0-5be90365c2a0|4|4.0
Tags: mobile