Afternoon everyone,I'm working on a httpmodule for adding a custom header and footer to all my sites. The concept is great but the performance is slow
I'm after adding the header and footer from a specific location (ie not hard coded). What i'm doing is scraping the html from the location and inserting via regex on the filter string.
Does anyone have any ideas as to how i can get this to work faster?
I'm wondering if this can be cached in the httpmodule but don't have a clue how I can do this in a httpmodule. Another handy way would be to get the #include line somehow added on the initial request.
Any thoughts or ideas would be grand. I'm working in C#
Regards,Rob
I'm after adding the header and footer from a specific location (ie not hard coded). What i'm doing is scraping the html from the location and inserting via regex on the filter string.
Does anyone have any ideas as to how i can get this to work faster?
I'm wondering if this can be cached in the httpmodule but don't have a clue how I can do this in a httpmodule. Another handy way would be to get the #include line somehow added on the initial request.
Any thoughts or ideas would be grand. I'm working in C#
Regards,Rob