Welcome to Idea R | Branding - Web Agency - Digital Strategies

Blog

Take a software geek from the 80s, add a new generation graphic designer and dilute with a longtime marketing strategist. Shake vigorously and you'll get the Idea R's blog.

< 2015

Published on 12/24/2011
Categories: Web & Apps
How to clear the SqlDataSource cache

The SqlDataSource.EnableCaching property allows to save the results of a specific database query.
When the caching is activated, if you reset EnableCaching to false, the query result is not retrieved from the cache anymore but it's re-executed every time.
But surprisingly, if you reset EnableCaching to true again, the data is retrieved from the old cache.

Read all the article...

Published on 10/23/2011
Categories: Web Design
Style sheets caching problems

Microsoft IIS caches all the style sheets that are placed inside the App_Themes folder, remembering the ones that are used by the web site pages (by all pages, not only the current one); the effect is easily visible looking at the HTML code sent to the client, noting that are included CSS links that were not specified for the page.
This behavior requires a strong attention on styles inheritance, but also can make Internet Explorer versions prior to the 9 to overflow the maximum number of style tags allowed: in these versions the maximum number of style tags is 32 and all the following ones are ignored.

Read all the article...